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
|
#!/usr/bin/make -f
include /usr/share/dpatch/dpatch.make
PACKAGE=headache
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --bindir=$(CURDIR)/debian/headache/usr/bin/
touch configure-stamp
build: configure-stamp patch-stamp build-stamp
build-stamp:
dh_testdir
$(MAKE)
cd debian/xml-man && $(MAKE)
touch build-stamp
clean: unpatch
dh_testdir
dh_testroot
-$(MAKE) clean
-cd debian/xml-man && $(MAKE) clean
rm -f build-stamp configure-stamp
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installman -i
dh_installchangelogs -i
dh_link -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_shlibdeps -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary-arch: build install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
|