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
This commit is contained in:
Norman Feske 2022-06-01 17:50:34 +02:00 committed by Christian Helmuth
parent 9a47f7bf71
commit a9b4be3883

View File

@ -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)/$@