diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-05-31 17:14:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:22 -0500 |
commit | 9fba08b621432861b52d5af0b7d994ba0e0100f0 (patch) | |
tree | 01c025a1437d90d1cdaaced25daed9fdbe51d8be /packaging | |
parent | 50b21753ba816ef23ddaf59dcbf698869e22d986 (diff) | |
download | samba-9fba08b621432861b52d5af0b7d994ba0e0100f0.tar.gz |
r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules index c2c3dc14cea..478d61d341f 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 |