3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/gencfsm/makefile-mkdir.patch
2015-11-03 19:05:12 +01:00

15 lines
729 B
Diff

--- a/dist/Makefile.am
+++ b/dist/Makefile.am
@@ -10,9 +10,9 @@ install-data-hook:
chmod 0755 $(shell find $(dist) -type d)
chmod 0644 $(shell find $(dist) -type f)
chmod 0755 $(shell find "scripts" -type f)
- test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/"
+ test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/"
cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/"
- test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)"
+ test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)"
cp --parent -rf $(dist) "$(gencfsmdir)"
cp --parent -rf $(icons) $(DESTDIR)$(datadir)