Adding debian version 4.03+dfsg-7.
[syslinux-debian/hramrach.git] / debian / rules
blobeebff70d722fc5421a96fcd3fbcc5700bff3beb8
1 #!/usr/bin/make -f
3 SHELL := sh -e
5 DATE=$(shell date +%Y%m%d)
6 VERSION=$(word 1,$(shell cat version))
8 unexport LDFLAGS
11 dh ${@}
13 dfsg:
14 rm -f doc/rfc5071.txt
16 override_dh_auto_clean:
17 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 dh_auto_build -- DATE="debian-$(DATE)" VERSION="$(VERSION)"
25 override_dh_auto_install:
26 dh_auto_install -- INSTALLROOT=$(CURDIR)/debian/tmp
28 # Removing useless files
29 rm -f debian/tmp/usr/bin/keytab-lilo # already part of the lilo package
31 override_dh_installchangelogs:
32 dh_installchangelogs NEWS
34 override_dh_install:
35 dh_install --fail-missing