X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Frules;h=c3483791a6757eec503f2920237f60f45e4c0eb3;hb=9a11f5ee43b02d2ce0fe63e1def2703e00274cc2;hp=94639f4def0e5f98df87ab91606f75f83ad30369;hpb=adf6539386c22827b4652dae96b4b634f6f4b4f2;p=debbugs.git diff --git a/debian/rules b/debian/rules index 94639f4..c348379 100755 --- a/debian/rules +++ b/debian/rules @@ -22,8 +22,11 @@ clean: dh_testdir dh_testroot rm -f *-stamp; - -$(MAKE) -f Makefile.perl clean; + if [ -e Makefile.perl ]; then \ + $(MAKE) -f Makefile.perl clean; \ + fi; #something to remove all trace and *.trace files? + rm -f debbugs.trace Makefile.perl.old dh_clean install: install-stamp @@ -38,14 +41,14 @@ install-stamp: build binary-arch: # nothing to do, as there aren't any architecture-dependent packages -binary-indep: +binary-indep: build install dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install_mostfiles DESTDIR=$(DEST_DIR) $(MAKE) -f Makefile.perl install PREFIX=$(DEST_DIR)/usr - dh_install --sourcedir=debian/tmp --list-missing + dh_install --sourcedir=debian/tmp --fail-missing dh_installdocs dh_installchangelogs dh_strip