summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-stable/rules
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian-stable/rules')
-rwxr-xr-xpackaging/Debian/debian-stable/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/Debian/debian-stable/rules b/packaging/Debian/debian-stable/rules
index 91e77e6d0f..f17ea75c01 100755
--- a/packaging/Debian/debian-stable/rules
+++ b/packaging/Debian/debian-stable/rules
@@ -97,6 +97,7 @@ build-stamp:
$(MAKE) -C source headers
$(MAKE) -C source all nsswitch/libnss_wins.so python_ext
+ $(MAKE) -C source client/mount.cifs
touch build-stamp
@@ -168,6 +169,10 @@ install: build
ln -s smbmount.8 $(DESTDIR)/usr/share/man/man8/mount.smb.8
ln -s smbmount.8 $(DESTDIR)/usr/share/man/man8/mount.smbfs.8
+ # Install mount.cifs and its man page
+ install -m 0755 source/client/mount.cifs $(DESTDIR)/sbin/
+ install -m 0644 docs/manpages/mount.cifs.8 $(DESTDIR)/usr/share/man/man8/
+
# For CUPS to support printing to samba printers, it's necessary
# to make the following symlink (according to
# Erich Schubert <debian@vitavonni.de> in #109509):