mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
nop hack required for PREPARE_DIR (PREPARE_MAN for safety)
Fixes #26274
This commit is contained in:
parent
065c9ab59b
commit
b1e9ed3c19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user