summaryrefslogtreecommitdiff
path: root/dest_dirs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dest_dirs.mk')
-rw-r--r--dest_dirs.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/dest_dirs.mk b/dest_dirs.mk
new file mode 100644
index 0000000..bceea06
--- /dev/null
+++ b/dest_dirs.mk
@@ -0,0 +1,10 @@
+# -*- make -*-
+# (C) 2015 by Eugeniy Mikhailov, <evgmik@gmail.com>
+
+# make all destination dirs
+
+pruned_destination_dirs = $(sort $(destination_dirs))
+
+$(pruned_destination_dirs):
+ $(INSTALL) -d -m 0755 '$@'
+