Update control file
[rrq/maintain_lilo.git] / images / Makefile
1 # -*- makefile -*-
2
3 # adding variables
4 include ../make.vars
5
6 BINLILO := ../src/lilo
7 BMPS8 := coffee.bmp
8 BMPS4 := debian.bmp debian-de.bmp debianlilo.bmp inside.bmp onlyblue.bmp tuxlogo.bmp
9
10
11 all: $(BMPS4) $(BMPS8)
12
13 $(BMPS4): %.bmp: %_16c.uu
14         uudecode $<
15         @echo Y | $(BINLILO) -E $(addsuffix .dat,$(basename $<)) 1>/dev/null
16
17 $(BMPS8): %.bmp: %_256c.uu
18         uudecode $<
19         @echo Y | $(BINLILO) -E $(addsuffix .dat,$(basename $<)) 1>/dev/null
20
21 install: all
22         mkdir -p $$DESTDIR$(BOOT_DIR)
23         install -m 0644  $(BMPS4) $(BMPS8)  $$DESTDIR$(BOOT_DIR)
24
25 clean:
26         rm -f $(BMPS4) $(BMPS8)
27
28 distclean: clean
29
30 uninstall:
31         (cd $$DESTDIR$(BOOT_DIR); rm -f $(BMPS4) $(BMPS8))
32