DESTDIR=${HOME}/public_html
HTMLS:=$(shell find . -name "*.html")
all: files pages
files:
rsync -rltC -exclude .git --exclude photo --exclude templates --exclude scripts --exclude Makefile --exclude "*.html" --exclude staff --exclude fileinfo . "$(DESTDIR)"
pages: files
perl scripts/make_html.pl --dest "$(DESTDIR)" --template templates/page.tpl $(HTMLS)
envtest:
: $(HTMLS)