summaryrefslogtreecommitdiff
path: root/packaging/debian/rules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-27 22:07:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:54 -0500
commit65cc3f5d5cb6e2b816e6d730960c2141ed0eecd6 (patch)
treee1c84ecf8de0452e341d1b6f9c77bc638ed2fae3 /packaging/debian/rules
parent9bf7217aa21e4d11fa40e7bdc6cc69ea82ff83f0 (diff)
downloadsamba-65cc3f5d5cb6e2b816e6d730960c2141ed0eecd6.tar.gz
samba-65cc3f5d5cb6e2b816e6d730960c2141ed0eecd6.tar.bz2
samba-65cc3f5d5cb6e2b816e6d730960c2141ed0eecd6.zip
r7958: More debian packaging updates; packages build now with
a few minor issues. Move ldb manpages one level higher - there is no longer a need to have subdirectories. (This used to be commit e8e3524b2394f4107230715ea38fb619332e0251)
Diffstat (limited to 'packaging/debian/rules')
-rwxr-xr-xpackaging/debian/rules10
1 files changed, 9 insertions, 1 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules
index 2d0505d225..232a95f2b1 100755
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -12,6 +12,7 @@ configure:
cd $(SOURCEPATH) && ./autogen.sh
cd $(SOURCEPATH) && ./configure --with-fhs \
--prefix=/usr \
+ --mandir=/usr/share/man \
--enable-shared \
--enable-static \
--sysconfdir=/etc \
@@ -43,6 +44,7 @@ binary-indep: build install
dh_testroot -i
dh_install -i --sourcedir=debian/tmp
dh_installdocs -i
+ dh_installman -i
dh_installchangelogs -i
dh_compress -i
dh_fixperms -i
@@ -59,12 +61,18 @@ install: build
dh_clean -k
dh_installdirs
$(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
- cp debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
+ $(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp
+ mkdir -p $(CURDIR)/debian/tmp/etc/samba4
+ cp $(CURDIR)/debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
+ cp $(CURDIR)/../source/build/pidl/pidl.pl $(CURDIR)/debian/tmp/usr/bin/pidl
+ mkdir -p $(CURDIR)/debian/tmp/usr/share/perl5/Parse/Pidl
+ cp $(CURDIR)/../source/build/pidl/*.pm $(CURDIR)/debian/tmp/usr/share/perl5/Parse/Pidl
binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_install -a --sourcedir=debian/tmp
+ dh_installchangelogs -a
dh_installdocs -a
dh_installman -a
dh_strip -a