r5257: Upadate patches and control files
[ira/wip.git] / packaging / Debian / debian-stable / rules
index 91e77e6d0fd582d184214114b3c9da6206498c8f..f17ea75c0157329579c1fbd60dc99595d03f77c8 100755 (executable)
@@ -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):