summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-05-14 13:14:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:46 -0500
commit08817d94d8e0e1b00455b38c71ee38b1c357dff8 (patch)
tree1a9a0732443fe29942b8ea4f1a04f8d722cf230c /packaging
parent53f2f8254b39b346c6ee718debd79bfc41207ec3 (diff)
downloadsamba-08817d94d8e0e1b00455b38c71ee38b1c357dff8.tar.gz
samba-08817d94d8e0e1b00455b38c71ee38b1c357dff8.tar.bz2
samba-08817d94d8e0e1b00455b38c71ee38b1c357dff8.zip
r735: Fix some paths
(This used to be commit 86946fc1b9550d605f6570ea3b2d6afb288f5a28)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/debian/rules13
1 files changed, 8 insertions, 5 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules
index 5de994450d..c2c3dc14ce 100755
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -3,12 +3,15 @@
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+SOURCEPATH=../source
+
package=samba4
configure:
$(checkdir)
- cd source && ./autogen.sh
- cd source && ./configure --with-fhs \
+ cd $(SOURCEPATH) && ./autogen.sh
+ cd $(SOURCEPATH) && ./configure --with-fhs \
--prefix=/usr \
--enable-shared \
--enable-static \
@@ -26,13 +29,13 @@ configure:
build: configure
$(checkdir)
- cd source && $(MAKE) proto all
+ cd $(SOURCEPATH) && $(MAKE) proto all
touch build
clean:
$(checkdir)
rm -f build
- -cd source && $(MAKE) clean
+ -cd $(SOURCEPATH) && $(MAKE) clean
rm -f `find . -name "*~"`
rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
rm -f debian/*substvars
@@ -48,7 +51,7 @@ binary-arch: checkroot build
rm -rf debian/tmp `find debian/* -type d ! -name CVS`
install -d debian/tmp
cd debian/tmp && install -d `cat ../dirs`
- cd source && $(MAKE) install DESTDIR=`pwd`/../debian/tmp
+ cd $(SOURCEPATH) && $(MAKE) install DESTDIR=`pwd`/../packaging/debian/tmp
debstd
dpkg-gencontrol -isp -psamba4
chown -R root:root debian/tmp