
document = Manual

html: ${document}.html

.PRECIOUS: %.html

%.html: %.tex tex4ht-soc.cfg
	 htlatex $< "tex4ht-soc,html4.4,sections+,info"
	#for image in images/*-tex4ht.png; do \
	#  trunk=`echo "$${image}" | sed 's,.*/\(.*\)-tex4ht.png,\1,'`; \
	#  echo "images/$${trunk}.png -> $${image}"; \
	#  cp -f images/$${trunk}.png $${image}; \
	#done

clean:
	 rm -f *.4ct *.4tc *.idv *.tmp *.lg  *.html \
	       *.log *.aux *.toc *.dvi *.out *.xref \
	       ${document}.css 

