DISTDIR := $(shell pwd) TEMPLATE_DIR := $(DISTDIR)/templates SCRIPT_DIR := $(DISTDIR)/scripts BUILDDIR := $(DISTDIR)/build export PAGES := $(wildcard pages/*) all: $(PAGES) $(PAGES): $(MAKE) -C $@ .PHONY: all $(PAGES)