cifs-utils/cifs-utils-6.10-DESTDIR.patch

19 lines
717 B
Diff
Raw Normal View History

--- cifs-utils-6.10/Makefile.am.orig 2020-09-07 11:28:12.342000000 +0200
+++ cifs-utils-6.10/Makefile.am 2020-09-07 11:28:36.197000000 +0200
@@ -119,11 +119,11 @@
SUBDIRS = contrib
install-exec-hook:
- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
install-data-hook:
- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
uninstall-hook:
- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
+ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
+ (cd $(DESTDIR)$(man8dir) && rm -f $(man8dir)/mount.smb3.8)