## Makefile.am for the TeX Live subdirectory utils/tpic2pdftex/ ## ## Copyright (C) 2009 Peter Breitenlohner ## You may freely use, modify and/or distribute this file. ## dist_bin_SCRIPTS = tpic2pdftex dist_man1_MANS = tpic2pdftex.1 pic_files = beamerexample.pic example.pic tpic_files = $(pic_files:.pic=.tpic) tex_files = $(pic_files:.pic=.tex) pdf_files = $(pic_files:.pic=.pdf) doc: $(pdf_files) example.pdf: example.tex pdftex $< beamerexample.pdf: beamerexample.tex pdflatex $< %.tex: %.tpic $(srcdir)/tpic2pdftex $< > $@ $(tpic_files): Makefile %.tpic: %.pic pic -z -t $< > $@ dist_check_SCRIPTS = tpic2pdftex.test TESTS = tpic2pdftex.test ## Expected test output ## exp_files = $(pic_files:.pic=.exp) CLEANFILES = $(pic_files:.pic=.log) *.aux *.nav *.out *.snm *.toc DISTCLEANFILES = $(pdf_files) $(tex_files) $(tpic_files) EXTRA_DIST = $(exp_files) $(pic_files)