1## Makefile.am for the TeX Live subdirectory utils/ps2eps/
2##
3## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
4## You may freely use, modify and/or distribute this file.
5##
6## We want to re-distribute the whole original ps2eps source tree.
7EXTRA_DIST = $(PS2EPS_TREE)
8## Patches applied to the original source tree
9EXTRA_DIST += $(PS2EPS_TREE)-PATCHES
10
11# Files not to be distributed
12include $(srcdir)/../../am/dist_hook.am
13NEVER_NAMES += $(NEVER_NAMES_SUB)
14
15AM_CFLAGS = $(WARNING_CFLAGS)
16
17bin_PROGRAMS = bbox
18
19bbox_SOURCES = \
20	@PS2EPS_TREE@/src/C/bbox.c
21
22man1_MANS = \
23	$(PS2EPS_TREE)/doc/man/man1/bbox.1 \
24	$(PS2EPS_TREE)/doc/man/man1/ps2eps.1
25
26perl_scripts = ps2eps
27scriptsdir = texmf-dist/scripts/ps2eps
28nodist_bin_SCRIPTS =
29
30include $(srcdir)/../../am/script_links.am
31
32texmfdir = $(datarootdir)/$(scriptsdir)
33nodist_texmf_SCRIPTS = $(PS2EPS_TREE)/bin/ps2eps.pl
34
35install-data-hook: install-perl-links
36uninstall-hook: uninstall-links
37
38CLEANFILES = $(nodist_bin_SCRIPTS)
39
40## Tests
41##
42TESTS = bbox.test
43EXTRA_DIST += $(TESTS)
44
45## bbox.test
46EXTRA_DIST += tests/plot.pbm tests/plot.out
47DISTCLEANFILES = plot.out
48
49