mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-07 20:36:26 +02:00
pkg: fix secondary rules
This commit is contained in:
parent
91420c39d7
commit
291cbe8c50
1 changed files with 2 additions and 1 deletions
|
@ -15,8 +15,9 @@ cleanup: $(patsubst %,%/cleanup,${VERSIONS})
|
|||
%/${LANGUAGE}-%.pkg.tar.gz: %/Makefile
|
||||
$(MAKE) -C $(shell dirname $<)
|
||||
|
||||
|
||||
%/Makefile:
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@echo 'VERSION=$(patsubst %/Makefile,%,$@)' > $@
|
||||
@echo 'NAME=${LANGUAGE}' > $@
|
||||
@echo 'NAME=${LANGUAGE}' >> $@
|
||||
@echo 'include ../base.mk' >> $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue