From 9fba08b621432861b52d5af0b7d994ba0e0100f0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 31 May 2004 17:14:27 +0000 Subject: r955: Update debian package rules... builds now (This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7) --- packaging/debian/rules | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packaging/debian/rules') diff --git a/packaging/debian/rules b/packaging/debian/rules index c2c3dc14ce..478d61d341 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -5,6 +5,7 @@ SOURCEPATH=../source +DOCSPATH=../docs package=samba4 @@ -24,18 +25,21 @@ configure: --with-syslog \ --with-readline \ --with-ldap - + cd $(DOCSPATH) && autoreconf + cd $(DOCSPATH) && ./configure touch configure build: configure $(checkdir) cd $(SOURCEPATH) && $(MAKE) proto all + cd $(DOCSPATH) && $(MAKE) htmlman manpages touch build clean: $(checkdir) rm -f build -cd $(SOURCEPATH) && $(MAKE) clean + -cd $(DOCSPATH) && $(MAKE) clean rm -f `find . -name "*~"` rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core rm -f debian/*substvars @@ -52,6 +56,10 @@ binary-arch: checkroot build install -d debian/tmp cd debian/tmp && install -d `cat ../dirs` cd $(SOURCEPATH) && $(MAKE) install DESTDIR=`pwd`/../packaging/debian/tmp + mkdir -p debian/tmp/usr/share/man/man1 + mkdir -p debian/tmp/usr/share/man/man7 + cp $(DOCSPATH)/output/manpages/*.1 debian/tmp/usr/share/man/man1 + cp $(DOCSPATH)/output/manpages/*.7 debian/tmp/usr/share/man/man7 debstd dpkg-gencontrol -isp -psamba4 chown -R root:root debian/tmp -- cgit