fixup! Makefile: export helpers, improve install target

This commit is contained in:
xinyangli 2024-12-11 15:34:30 +08:00
parent b75a87a614
commit 5ca5e6972b

View file

@ -134,10 +134,6 @@ EXPORT_FLAGS_TEMPLATE := $(file < $(AM_HOME)/scripts/templates/flags.tmpl)
HELPERS := $(wildcard find scripts/helpers/*.mk)
EXPORT_HELPERS := $(HELPERS:scripts/helpers/%=$(LIB_INSTALLDIR)/make/%)
test:
@echo $(EXPORT_HELPERS)
@echo $(LIB_INSTALLDIR)
EXPORTS := $(EXPORT_FLAGS_FILE) $(EXPORT_HELPERS)
$(EXPORT_HELPERS): $(LIB_INSTALLDIR)/make/%: scripts/helpers/%