summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-sarge/rules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-07-15 16:51:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:22 -0500
commitb047fd336ad8ce618c293085387f9fe6770926e0 (patch)
tree0c3c807b9b43b126621551a36d331c0f0401a288 /packaging/Debian/debian-sarge/rules
parent5fe140babcbec90ddcbd9a6517c3f5e76844a9e9 (diff)
downloadsamba-b047fd336ad8ce618c293085387f9fe6770926e0.tar.gz
samba-b047fd336ad8ce618c293085387f9fe6770926e0.tar.bz2
samba-b047fd336ad8ce618c293085387f9fe6770926e0.zip
r17063: Update debian-sarge for 3.0.23
(This used to be commit a77b18c78197f40ab51462f3a35d27f300a8359c)
Diffstat (limited to 'packaging/Debian/debian-sarge/rules')
-rwxr-xr-xpackaging/Debian/debian-sarge/rules19
1 files changed, 7 insertions, 12 deletions
diff --git a/packaging/Debian/debian-sarge/rules b/packaging/Debian/debian-sarge/rules
index eb6e71c90e..5a0f5e60b4 100755
--- a/packaging/Debian/debian-sarge/rules
+++ b/packaging/Debian/debian-sarge/rules
@@ -76,7 +76,8 @@ ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
conf_args += \
--with-smbmount \
--with-acl-support \
- --with-quotas
+ --with-quotas \
+ --with-cifsmount
mount_cifs = yes
smbfs = yes
else
@@ -120,9 +121,6 @@ build-stamp:
$(MAKE) -C source headers
$(MAKE) -C source all nsswitch/libnss_wins.so python_ext
-ifeq ($(mount_cifs),yes)
- $(MAKE) -C source client/mount.cifs
-endif
touch build-stamp
@@ -138,7 +136,7 @@ clean: unpatch
# Delete stuff left after a build that is not deleted by 'make clean'
rm -f source/bin/wbinfo source/bin/winbindd source/bin/debug2html \
- source/bin/libsmbclient.a source/client/mount.cifs \
+ source/bin/libsmbclient.a source/bin/mount.cifs \
source/include/stamp-h
sed -e "s/@libacl@/`type-handling any linux-gnu`/g" \
@@ -179,14 +177,11 @@ install: build
install -m 0755 debian/mksmbpasswd.awk $(DESTDIR)/usr/sbin/mksmbpasswd
# Install winbind stuff not installed by 'make install'
- install -m 0644 source/nsswitch/libnss_winbind.so \
- $(DESTDIR)/lib/libnss_winbind.so.2
- install -m 0644 source/bin/pam_winbind.so \
- $(DESTDIR)/lib/security/
+ install -m 0644 source/bin/pam_winbind.so $(DESTDIR)/lib/security/
+ install -m 0644 source/nsswitch/libnss_winbind.so $(DESTDIR)/lib/libnss_winbind.so.2
# Install libnss_wins.so, which is not installed by 'make install' either.
- install -m 0644 source/nsswitch/libnss_wins.so \
- $(DESTDIR)/lib/libnss_wins.so.2
+ install -m 0644 source/nsswitch/libnss_wins.so $(DESTDIR)/lib/libnss_wins.so.2
# pam_smbpass.so isn't being installed by 'make install'.
# We'll move it here to $(DESTDIR)/lib/security/ and then
@@ -208,7 +203,7 @@ endif
ifeq ($(mount_cifs),yes)
# Install mount.cifs and its man page
- install -m 04755 source/client/mount.cifs $(DESTDIR)/sbin/
+ install -m 04755 source/bin/mount.cifs $(DESTDIR)/sbin/
install -m 0644 docs/manpages/mount.cifs.8 $(DESTDIR)/usr/share/man/man8/
endif