| 1 |
## Makefile.am for the TeX Live subdirectory utils/tpic2pdftex/ |
| 2 |
## |
| 3 |
## Copyright (C) 2009-2014 Peter Breitenlohner <[email protected]> |
| 4 |
## You may freely use, modify and/or distribute this file. |
| 5 |
## |
| 6 |
if !WIN32 |
| 7 |
bin_SCRIPTS = tpic2pdftex |
| 8 |
man1_MANS = tpic2pdftex.1 |
| 9 |
endif !WIN32 |
| 10 |
EXTRA_DIST = tpic2pdftex tpic2pdftex.1 |
| 11 |
|
| 12 |
pic_files = beamerexample.pic example.pic |
| 13 |
tpic_files = $(pic_files:.pic=.tpic) |
| 14 |
tex_files = $(pic_files:.pic=.tex) |
| 15 |
pdf_files = $(pic_files:.pic=.pdf) |
| 16 |
|
| 17 |
doc: $(pdf_files) |
| 18 |
|
| 19 |
example.pdf: example.tex |
| 20 |
pdftex $< |
| 21 |
|
| 22 |
beamerexample.pdf: beamerexample.tex |
| 23 |
pdflatex $< |
| 24 |
|
| 25 |
%.tex: %.tpic |
| 26 |
$(srcdir)/tpic2pdftex $< > $@ |
| 27 |
|
| 28 |
$(tpic_files): Makefile |
| 29 |
|
| 30 |
%.tpic: %.pic |
| 31 |
pic -z -t $< > $@ |
| 32 |
|
| 33 |
dist_check_SCRIPTS = tpic2pdftex.test |
| 34 |
|
| 35 |
if !WIN32 |
| 36 |
TESTS = tpic2pdftex.test |
| 37 |
endif !WIN32 |
| 38 |
|
| 39 |
## Expected test output |
| 40 |
## |
| 41 |
exp_files = $(pic_files:.pic=.exp) |
| 42 |
|
| 43 |
CLEANFILES = $(pic_files:.pic=.log) *.aux *.nav *.out *.snm *.toc |
| 44 |
|
| 45 |
DISTCLEANFILES = $(pdf_files) $(tex_files) $(tpic_files) |
| 46 |
|
| 47 |
EXTRA_DIST += $(exp_files) $(pic_files) |
| 48 |
|