summaryrefslogtreecommitdiff
path: root/dest_dirs.mk
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2015-04-16 23:11:49 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2015-04-16 23:11:49 -0400
commitdb8fd5298811fb2448d7fe74a77457f2df8bcabb (patch)
treebdaa9aed22d88c19ed2787c98bea554c6faaa113 /dest_dirs.mk
parent68547f0be09719e7fdd192f68edbcf9bbbd415d8 (diff)
downloadmakefile_templates-db8fd5298811fb2448d7fe74a77457f2df8bcabb.tar.gz
makefile_templates-db8fd5298811fb2448d7fe74a77457f2df8bcabb.zip
added make file which creates destination dirs
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 '$@'
+