pkg: fix secondary rules

This commit is contained in:
Thomas Hobson 2021-02-21 03:29:13 +13:00
parent 91420c39d7
commit 291cbe8c50
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 2 additions and 1 deletions

View File

@ -15,8 +15,9 @@ cleanup: $(patsubst %,%/cleanup,${VERSIONS})
%/${LANGUAGE}-%.pkg.tar.gz: %/Makefile %/${LANGUAGE}-%.pkg.tar.gz: %/Makefile
$(MAKE) -C $(shell dirname $<) $(MAKE) -C $(shell dirname $<)
%/Makefile: %/Makefile:
@mkdir -p $(shell dirname $@) @mkdir -p $(shell dirname $@)
@echo 'VERSION=$(patsubst %/Makefile,%,$@)' > $@ @echo 'VERSION=$(patsubst %/Makefile,%,$@)' > $@
@echo 'NAME=${LANGUAGE}' > $@ @echo 'NAME=${LANGUAGE}' >> $@
@echo 'include ../base.mk' >> $@ @echo 'include ../base.mk' >> $@