webroot := /var/www include $(webroot)/makefile.generic postfiles := $(patsubst %.html,.ps/%.ps,$(pages)) all: $(postfiles) $(postfiles): $(pages) .ps/%.ps: %.html w3m -dump -T text/html $< | a2ps - -R --columns=1 -l 95 -o $@ /bin/rm -f .ps/*~