+Package: lilo
+Subject: use of newer debhelper 7.0.50 and above
+Author: Joachim Wiedorn <ad_debian at joonet.de>
+Forwarded: no
+Last-Update: 2010-11-13
+
+With the possibilities of debhelper of 7.0.50 and above and some
+direct patches in the sources the rules can be reduced to few
+lines.
+---
+
+diff -urN s08/images/Makefile s09/images/Makefile
+--- s08/images/Makefile 2010-11-13 18:39:14.558043894 +0100
++++ s09/images/Makefile 2010-11-13 20:23:08.510034528 +0100
+@@ -23,11 +23,11 @@
+ install: all
+ mkdir -p $$DESTDIR$(BOOT_DIR)
+ install -m 0644 $(BMPS4) $(BMPS8) $$DESTDIR$(BOOT_DIR)
+- for i in $(NAME8); do
+- cp $(NAME8)_256c.dat $$DESTDIR$(BOOT_DIR)
++ for i in $(NAME8); do \
++ cp $${i}_256c.dat $$DESTDIR$(BOOT_DIR)/$${i}.dat; \
+ done
+- for i in $(NAME4); do
+- cp $(NAME4)_16c.dat $$DESTDIR$(BOOT_DIR)
++ for i in $(NAME4); do \
++ cp $${i}_16c.dat $$DESTDIR$(BOOT_DIR)/$${i}.dat; \
+ done
+
+ clean:
+@@ -37,4 +37,7 @@
+
+ uninstall:
+ (cd $$DESTDIR$(BOOT_DIR); rm -f $(BMPS4) $(BMPS8))
++ for i in $(NAME4) $(NAME8); do \
++ rm -f $$DESTDIR$(BOOT_DIR)/$${i}.dat; \
++ done
+
+diff -urN s08/Makefile s09/Makefile
+--- s08/Makefile 2010-11-04 16:35:15.000000000 +0100
++++ s09/Makefile 2010-11-13 20:23:08.498047887 +0100
+@@ -1,6 +1,14 @@
+ # -*- makefile -*-
+
+ #
++# everything needed to run, just short of installation
++#
++all: test
++ make -C src all
++ make -C images all
++ make -C doc all
++
++#
+ # make help
+ #
+ help:
+@@ -27,13 +35,6 @@
+ @echo ""
+
+ #
+-# everything needed to run, just short of installation
+-#
+-all: test
+- make -C src all
+- make -C images all
+-
+-#
+ # everything above plus the statically linked version
+ #
+ alles: test