X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/84d4d72a5d046653dd8fc6e68b11dcb36a455398..1e66ca805e28c5fbbb693dcaaed4ca27eb8a0bae:/debian/rules diff --git a/debian/rules b/debian/rules index ebcf0f6..2d79ba9 100755 --- a/debian/rules +++ b/debian/rules @@ -4,9 +4,10 @@ # needed for lintian build: dh_testdir + rm -f dirs files binary-indep: - -$(MAKE) clean + [ ! -f Makefile ] || $(MAKE) clean dh_clean dh_testdir @@ -14,11 +15,13 @@ binary-indep: dh_clean -k dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/iserv-mod-room-reservation install - + + # we rather install the documentation via dh_installdocs + rm -rf $(CURDIR)/debian/iserv-mod-room-reservation/usr/share/doc/iserv-mod-room-reservation dh_testdir dh_testroot dh_installchangelogs - dh_installdocs + dh_installdocs doc/changelog.old.html doc/TODO doc/source/ #dh_installexamples ##dh_install ##dh_installmenu @@ -43,6 +46,7 @@ binary-indep: dh_gencontrol dh_md5sums dh_builddeb + rm -rf $(CURDIR)/debian/iserv-mod-room-reservation # needed for lintian binary-arch: @@ -52,8 +56,8 @@ binary: binary-indep clean: dh_testdir dh_testroot - -$(MAKE) clean - dh_clean + [ ! -f Makefile ] || $(MAKE) clean + dh_clean .PHONY: build clean binary-indep binary install