Bump Standards-Version
[rrq/maintain_lilo.git] / debian / patches / 08_install-also-dat-files.patch
1 Package:     lilo
2 Subject:     install also dat files of menu backgrounds
3 Author:      Joachim Wiedorn <ad_debian at joonet.de>
4 Forwarded:   no
5 Last-Update: 2010-11-13
6
7 In some situations it is fine to have the original config files
8 for the menu background images. So let us install these dat files.
9 ---
10
11 diff -urN s07/images/Makefile s08/images/Makefile
12 --- s07/images/Makefile 2010-11-04 13:26:28.000000000 +0100
13 +++ s08/images/Makefile 2010-11-13 18:39:14.558043894 +0100
14 @@ -6,6 +6,8 @@
15  BINLILO := ../src/lilo
16  BMPS8 := coffee.bmp
17  BMPS4 := debian.bmp debian-de.bmp debianlilo.bmp inside.bmp onlyblue.bmp tuxlogo.bmp
18 +NAME8 := coffee
19 +NAME4 := debian debian-de debianlilo inside onlyblue tuxlogo
20  
21  
22  all: $(BMPS4) $(BMPS8)
23 @@ -21,6 +23,12 @@
24  install: all
25         mkdir -p $$DESTDIR$(BOOT_DIR)
26         install -m 0644  $(BMPS4) $(BMPS8)  $$DESTDIR$(BOOT_DIR)
27 +       for i in $(NAME8); do
28 +               cp $(NAME8)_256c.dat $$DESTDIR$(BOOT_DIR)
29 +       done
30 +       for i in $(NAME4); do
31 +               cp $(NAME4)_16c.dat $$DESTDIR$(BOOT_DIR)
32 +       done
33  
34  clean:
35         rm -f $(BMPS4) $(BMPS8)