]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
notes on ADD_INSTALL_RULE.dir
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jun 2019 14:22:23 +0000 (10:22 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jun 2019 14:22:23 +0000 (10:22 -0400)
scripts/install.mk

index 5b133b6c7f7fcfedfb1b233b3060bf5190074298..16107c3f8403f18c7647440d120887a6401ff2e7 100644 (file)
@@ -171,12 +171,24 @@ endef
 # ADD_INSTALL_RULE.dir - Parameterized "function" that adds a new rule
 #   and phony target for installing a directory
 #
+#   We would like to have this directory have an order dependency on it's parent:
+#
+#      | $(dir $(patsubst %/,%,$(dir ${1})))
+#
+#  but ONLY to the root of the directory we're installing.  There's no simple way
+#  to get at that information right now, so we'll ignore it.  Until that's fixed,
+#  doing "make -j 14 install.doc" will get a series of complaints about
+#
+#      "mkdir: foo: File exists"
+#
+#  but ONLY once for each directory.
+#
 #   USE WITH EVAL
 #
 define ADD_INSTALL_RULE.dir
     # Install directory
     .PHONY: ${1}
-    ${1}: ${JLIBTOOL}
+    ${1}:
        @$(ECHO) INSTALL -d -m 755 ${1}
        $(Q)$${PROGRAM_INSTALL} -d -m 755 ${1}
 endef