From: Amin Bandali Date: Thu, 16 Jul 2020 14:56:12 +0000 (-0400) Subject: avoid circular dependency X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/6486444748489166fe12cbaa624614bf7d0a4928?ds=sidebyside;hp=842b89b2d2d87b57442b14b4fd63477fd234137a avoid circular dependency --- diff --git a/Makefile b/Makefile index a8b6ccb..38db53a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -SRC := $(filter-out $(wildcard meta_*), \ -$(wildcard *.m4 fsf-internship/*.m4)) +SRC := $(filter-out $(wildcard meta_*), $(wildcard *.m4 fsf-internship/*.m4)) OUTPUTS := $(patsubst %.m4,out/%.html, $(SRC)) STATIC := $(patsubst static/%,out/%, $(wildcard static/* static/.*)) @@ -14,7 +13,7 @@ $(STATIC): ; ln -s $(PWD)/static/$(@F) $@ # publications bibliography static/publications-partial.html: static/bandali.bib static/bandali-bib-* -static/publications-partial.html: static/publications-* +static/publications-partial.html: $(filter-out static/publications-partial.html, $(wildcard static/publications-*)) static/publications-partial.html: $(MAKE) -C $(@D) $(@F) out/publications.html: static/publications-partial.html