From 291cbe8c50b26e55f7135e0a2207d920023b4d65 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 21 Feb 2021 03:29:13 +1300 Subject: [PATCH] pkg: fix secondary rules --- packages/secondary.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/secondary.mk b/packages/secondary.mk index a748fa6..2def001 100644 --- a/packages/secondary.mk +++ b/packages/secondary.mk @@ -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' >> $@