#
# TransFig makefile
#

all: cam.html cam_environment.tex cam_path.tex device1.tex ed-table.tex 

# translation into epic

cam_environment.tex: cam_environment.fig Makefile
	fig2dev -L epic cam_environment.fig > cam_environment.tex
clean::
	rm -f cam_environment.tex


# translation into epic

cam_path.tex: cam_path.fig Makefile
	fig2dev -L epic cam_path.fig > cam_path.tex
clean::
	rm -f cam_path.tex


# translation into epic

device1.tex: device1.fig Makefile
	fig2dev -L epic device1.fig > device1.tex
clean::
	rm -f device1.tex

cam.html: cam.sgml
	jade -V nochunks \
	     -c /usr/local/share/sgml/docbook/dsssl/modular/catalog \
	     -c /usr/local/share/sgml/docbook/4.5/catalog \
	     -c /usr/local/share/sgml/jade/catalog \
	     -d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl \
	     -t sgml cam.sgml > cam.html

# translation into epic

ed-table.tex: ed-table.fig Makefile
	fig2dev -L epic ed-table.fig > ed-table.tex
clean::
	rm -f ed-table.tex

