# www/Makefile # for updating automatically generated web files all: .SUFFIXES: .html .src .src.html: ; m4 ../src.m4 $< > $*.html HTML=mwe-common.html all: $(HTML) xoutput.html $(HTML): ../src.m4 HFIX=$(PERL) htmlfix.pl JADE=jade mwe97.html: mwe97.sgml resume.dtd resume.dsl $(JADE) -d resume.dsl -t sgml mwe97.sgml | $(HFIX) > mwe97.html mwe97.txt: mwe97.html lynx -dump mwe97.html > mwe97.txt xoutput.html: xresume.xsl xmwe97.xml xresume.dtd xsltproc -o xoutput.html xresume.xsl xmwe97.xml resume2013.html: resume2013.md scrub_markdown_input scrub_markdown_output scrub_markdown_input < resume2013.md | markdown | scrub_markdown_output > resume2013.html onepage2015.pdf: onepage2015.md onepage2015.css pandoc -V colorlinks=true -f markdown_mmd -V fontsize=14pt -V geometry:margin=0.5in -o onepage2015.pdf onepage2015.md inotify: inotifywait -e close_write onepage2015.md onepage2015.css Makefile -m --format '%w' | while read n; do make onepage2015.pdf; done .PHONY: inotify