5 DATE
=$(shell date
+%Y-
%m-
%d
)
6 VERSION
=$(word 1,$(shell cat version
))
14 override_dh_auto_clean
:
19 rm -f core
/.depend memdisk
/.depend
20 rm -f com32
/lib
*/*.a com32
/*/*.c32 core
/*.0 core
/*.bin core
/*.bss core
/*.sys dos
/*.com gpxe
/*.0 memdisk
/memdisk memdump
/*.com
22 override_dh_auto_build
:
23 $(MAKE
) DATE
="Debian-$(DATE)" VERSION
="$(VERSION)"
27 for SIZE in
720 1200 1440 1743; \
29 dd if
=/dev
/zero of
=debian
/build
/img
$${SIZE}k bs
=1k count
=$$SIZE; \
32 for DRIVE in a
: b
: c
: d
:;\
34 MTOOLSRC
=debian
/local
/mtoolsrc mformat
$$DRIVE; \
37 for SIZE in
720 1200 1440 1743; \
39 mtools
/syslinux
-s debian
/build
/img
$${SIZE}k
; \
42 gzip
-9 -f debian
/build
/*
44 override_dh_auto_install
:
45 $(MAKE
) INSTALLROOT
=$(CURDIR
)/debian
/tmp
install
47 mkdir
-p debian
/syslinux-common
/usr
/lib
/syslinux
48 cp debian
/build
/* debian
/syslinux-common
/usr
/lib
/syslinux
50 override_dh_installchangelogs
:
51 dh_installchangelogs NEWS