1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
package=autofs
build: build-stamp
build-stamp:
dh_testdir
./configure --prefix=/usr --mandir=$(CURDIR)/debian/tmp/usr/share/man
$(MAKE)
touch $@
clean:
dh_testdir
$(MAKE) mrproper
-rm -f build-stamp debian/init
dh_clean
binary-indep:
@echo Nothing to do
samples/rc.autofs: samples/rc.autofs.in
$(MAKE) -C samples rc.autofs
debian/init: samples/rc.autofs
cp -a samples/rc.autofs debian/init
binary-arch: build debian/init
dh_testroot
dh_testdir
dh_clean
dh_installdirs
install -m 644 samples/auto.master debian/tmp/etc/auto.master
install -m 644 samples/auto.misc debian/tmp/etc/auto.misc
$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
# Do the final stuff
dh_installdocs README TODO README.changer README.smbfs README.options
dh_installchangelogs NEWS
# Bah, silly debhelper. Lets fool it into installing the proper init file
dh_installinit -n --update-rcd-params="defaults 20"
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Below here is fairly generic really
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean checkroot
|