]> git.lizzy.rs Git - rust.git/commitdiff
nop hack required for PREPARE_DIR (PREPARE_MAN for safety)
authorAidan Hobson Sayers <aidanhs@cantab.net>
Sat, 13 Jun 2015 15:49:25 +0000 (16:49 +0100)
committerAidan Hobson Sayers <aidanhs@cantab.net>
Sat, 13 Jun 2015 16:27:05 +0000 (17:27 +0100)
Fixes #26274

mk/prepare.mk

index e5f975430841d501d34b86479fe9bc400f0a82f8..d196b71c3c8ab6e294a8da5680ab833688d01d70 100644 (file)
@@ -29,7 +29,10 @@ DEFAULT_PREPARE_MAN_CMD = install -m644
 
 # Create a directory
 # $(1) is the directory
+#
+# Gee, what's up with that $(nop)? See comment below.
 define PREPARE_DIR
+       $(nop)
        @$(call E, prepare: $(1))
        $(Q)$(PREPARE_DIR_CMD) $(1)
 endef
@@ -68,7 +71,10 @@ endef
 
 # Copy a man page
 # $(1) - source dir
+#
+# Gee, what's up with that $(nop)? See comment above.
 define PREPARE_MAN
+       $(nop)
        @$(call E, prepare: $(PREPARE_DEST_MAN_DIR)/$(1))
        $(Q)$(PREPARE_MAN_CMD) $(PREPARE_SOURCE_MAN_DIR)/$(1) $(PREPARE_DEST_MAN_DIR)/$(1)
 endef