pkg: fix secondary rules
This commit is contained in:
parent
91420c39d7
commit
291cbe8c50
|
@ -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' >> $@
|
||||||
|
|
Loading…
Reference in New Issue