From: Daniel White Date: Fri, 22 Aug 2008 21:49:05 +0000 (+0100) Subject: debian/rules: take advantage of new build targets X-Git-Tag: v0.15-rc1~165 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/3bc4dc4f9595df90d048f829dd9c0c5a387d05cb debian/rules: take advantage of new build targets As a result, both man and html documentation are included in the resulting package. Signed-off-by: Daniel White --- diff --git a/debian/rules b/debian/rules index 5688680..795c77b 100755 --- a/debian/rules +++ b/debian/rules @@ -33,9 +33,7 @@ build: build-stamp build-stamp: configure-stamp dh_testdir - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/stgit.sgml > stgit.1 + $(MAKE) all doc touch build-stamp @@ -56,7 +54,7 @@ install: build dh_installdirs # Add here commands to install the package into debian/stgit. - $(MAKE) DESTDIR=$(CURDIR)/debian/stgit PREFIX=/usr install + $(MAKE) DESTDIR=$(CURDIR)/debian/stgit prefix=/usr install install-doc install-html # Build architecture-independent files here. binary-indep: build install