-out/%.html: %.m4 header.html footer.html ; m4 -D__latest=$(LATEST) $< > $@
-out/atom.xml: feed.m4 ; m4 -D__latest=$(LATEST) $< > $@
-$(STATIC): ; ln -s $(PWD)/static/$(notdir $@) $@
+# publications bibliography
+static/publications-partial.html: static/bandali.bib static/bandali-bib-*
+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
+out/bandali-bib.html: static/bandali-bib-partial.html
+
+clean:
+ rm -rf out/