# Janet is learning some new make features. # The Make manual: http://www.gnu.org/software/make/manual/make.html .SUFFIXES: .html .docbook .sect .ps .pdf GROUP = $(shell cat document.group.txt) %.ps: %.html html2ps -D -o $*.ps $< %.pdf: %.ps ps2pdf $< $*.pdf %.docbook: %.sect ../tools/mkwrapper $* > $*.docbook %.htmp: %.docbook xsltproc -o $*.htmp \ --xinclude \ --stringparam html.stylesheet "../resources/stylesheet.css" \ --stringparam process.empty.source.toc "1" \ --stringparam toc.section.depth "3" \ --stringparam document.group "$(GROUP)" \ csc151.xsl $< %.html: %.htmp cat $< \ | sed -e 's/\(
\)/\1/gi' \
		| sed -e 's/\(<\/pre>\)/i<\/code>/gi' \
		| sed -e 's//\n