summaryrefslogtreecommitdiff
path: root/packaging/debian/rules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-09 21:40:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:28 -0500
commit589dce44d9adc7f4de4b8b949385e0207fe330d9 (patch)
treee4f3c6f93232d8233b09b2bb8f1ae827cfd82324 /packaging/debian/rules
parentb98373d574f43fb5d088a59acf1c81ea0b311977 (diff)
downloadsamba-589dce44d9adc7f4de4b8b949385e0207fe330d9.tar.gz
samba-589dce44d9adc7f4de4b8b949385e0207fe330d9.tar.bz2
samba-589dce44d9adc7f4de4b8b949385e0207fe330d9.zip
r8266: Update debian packages
(This used to be commit 35bfb5de6feaeed9854b701b8d38f08a350d91cb)
Diffstat (limited to 'packaging/debian/rules')
-rwxr-xr-xpackaging/debian/rules12
1 files changed, 5 insertions, 7 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules
index 232a95f2b1..4d29c6abea 100755
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -24,6 +24,7 @@ configure:
--with-syslog \
--with-readline \
--with-ldap
+ cd $(SOURCEPATH)/build/pidl && perl Makefile.PL PREFIX=/usr
touch $@
build: configure
@@ -31,12 +32,13 @@ build: configure
$(MAKE) -C $(SOURCEPATH) proto
-$(MAKE) -C $(SOURCEPATH) pch
$(MAKE) -C $(SOURCEPATH) all
+ $(MAKE) -C $(SOURCEPATH)/build/pidl all
touch $@
clean:
dh_testdir
dh_clean
- rm -f build
+ rm -f build configure
-$(MAKE) -C $(SOURCEPATH) clean
binary-indep: build install
@@ -44,7 +46,6 @@ 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
@@ -64,9 +65,7 @@ install: build
$(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
+ $(MAKE) -C $(SOURCEPATH)/build/pidl install DESTDIR=$(CURDIR)/debian/tmp
binary-arch: build install
dh_testdir -a
@@ -74,7 +73,6 @@ binary-arch: build install
dh_install -a --sourcedir=debian/tmp
dh_installchangelogs -a
dh_installdocs -a
- dh_installman -a
dh_strip -a
dh_python -a
dh_compress -a
@@ -86,6 +84,6 @@ binary-arch: build install
dh_md5sums -a
dh_builddeb -a
-binary: binary-indep binary-arch
+binary: binary-arch binary-indep
.PHONY: binary binary-arch binary-indep clean