null := SPACE := $(null) $(null) all: html js json video audio images Makefile: Makefile.inc Makefile.inc: configure ./configure $@ include Makefile.inc UGLIFYJS := node_modules/.bin/uglifyjs $(UGLIFYJSFLAGS) # === HTML === html: www/index.html www/index.html: www/index.html.dist $(if $(DEBUG), sed -e 's:$(subst www/,,$(JSOUT)):$(subst $(SPACE),">