mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
themed_decorator: break link dependency to theme
plain_decorator_theme.tar is not linked to the app but must be generated as side effect. Therefore, use CUSTOM_TARGET_DEPS to trigger the generation. Fixes #4637
This commit is contained in:
parent
00ac4afb9f
commit
2edf02dccb
@ -3,8 +3,13 @@ SRC_CC = main.cc theme.cc window.cc
|
||||
LIBS = base libc libpng zlib blit file
|
||||
INC_DIR += $(PRG_DIR)
|
||||
|
||||
CUSTOM_TARGET_DEPS += plain_decorator_theme.tar
|
||||
|
||||
BUILD_ARTIFACTS := $(TARGET) plain_decorator_theme.tar
|
||||
|
||||
.PHONY: plain_decorator_theme.tar
|
||||
|
||||
$(TARGET): plain_decorator_theme.tar
|
||||
plain_decorator_theme.tar:
|
||||
$(VERBOSE)cd $(PRG_DIR); tar cf $(PWD)/bin/$@ theme
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE)tar -cf $@ -C $(PRG_DIR) theme
|
||||
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/$(PRG_REL_DIR)/$@ $(INSTALL_DIR)/$@
|
||||
|
Loading…
Reference in New Issue
Block a user