From a9b4be3883721df368ed1ee28632970da3ab9b4b Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 1 Jun 2022 17:50:34 +0200 Subject: [PATCH] menu_view: make menu_view_styles.tar more obvious This patch replaces the former implicit "phonyness" of the rule by an explicit .PHONY and installs a symlink from the target's build directory to bin/ as is the usual practice for regular targets. Related to issue #3972 --- repos/gems/src/app/menu_view/target.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/repos/gems/src/app/menu_view/target.mk b/repos/gems/src/app/menu_view/target.mk index 7deabdadfd..e9c1be2d79 100644 --- a/repos/gems/src/app/menu_view/target.mk +++ b/repos/gems/src/app/menu_view/target.mk @@ -7,5 +7,9 @@ CUSTOM_TARGET_DEPS += menu_view_styles.tar BUILD_ARTIFACTS := $(TARGET) menu_view_styles.tar +.PHONY: menu_view_styles.tar + menu_view_styles.tar: - $(VERBOSE)cd $(PRG_DIR); tar cf $(PWD)/bin/$@ styles + $(MSG_CONVERT)$@ + $(VERBOSE)tar cf $@ -C $(PRG_DIR) styles + $(VERBOSE)ln -sf $(BUILD_BASE_DIR)/$(PRG_REL_DIR)/$@ $(INSTALL_DIR)/$@