Skip to content

Commit b1e9ed3

Browse files
committed
nop hack required for PREPARE_DIR (PREPARE_MAN for safety)
Fixes #26274
1 parent 065c9ab commit b1e9ed3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mk/prepare.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ DEFAULT_PREPARE_MAN_CMD = install -m644
2929

3030
# Create a directory
3131
# $(1) is the directory
32+
#
33+
# Gee, what's up with that $(nop)? See comment below.
3234
define PREPARE_DIR
35+
$(nop)
3336
@$(call E, prepare: $(1))
3437
$(Q)$(PREPARE_DIR_CMD) $(1)
3538
endef
@@ -68,7 +71,10 @@ endef
6871

6972
# Copy a man page
7073
# $(1) - source dir
74+
#
75+
# Gee, what's up with that $(nop)? See comment above.
7176
define PREPARE_MAN
77+
$(nop)
7278
@$(call E, prepare: $(PREPARE_DEST_MAN_DIR)/$(1))
7379
$(Q)$(PREPARE_MAN_CMD) $(PREPARE_SOURCE_MAN_DIR)/$(1) $(PREPARE_DEST_MAN_DIR)/$(1)
7480
endef

0 commit comments

Comments
 (0)