depot/third_party/nixpkgs/pkgs/tools/security/gencfsm/makefile-mkdir.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

14 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)