Debian Codegraph @

utils/axodraw2/Makefile.am

raw
1 ## $Id: Makefile.am 46590 2018-02-10 23:30:32Z karl $
2 ## Makefile.am for axohelp (in TeX Live)
3 ##
4 ## Copyright (C) 2018 John Collins
5 ## You may freely use, modify and/or distribute this file.
6 ##
7
8 ## We want to re-distribute the whole original ps2eps source tree.
9 EXTRA_DIST = $(AXODRAW2_TREE)
10
11 # Files not to be distributed
12 include $(srcdir)/../../am/dist_hook.am
13 NEVER_NAMES += $(NEVER_NAMES_SUB)
14
15 AM_CFLAGS = $(WARNING_CFLAGS)
16
17 bin_PROGRAMS = axohelp
18 # must use @... for _SOURCES or subdir $(... (literally) is created for .deps.
19 axohelp_SOURCES = @AXODRAW2_TREE@/axohelp.c
20
21 man1_MANS = $(AXODRAW2_TREE)/axohelp.1
22
23 ## Test
24 AM_TESTS_ENVIRONMENT = AXODRAW2_TREE=$(AXODRAW2_TREE); export AXODRAW2_TREE;
25 #
26 TESTS = $(AXODRAW2_TREE)/axohelp.test
27 EXTRA_DIST += $(TESTS)
28 axohelp.log: axohelp$(EXEEXT)
29 #
30 ## test files.
31 EXTRA_DIST += \
32 $(AXODRAW2_TREE)/test.ax1 \
33 $(AXODRAW2_TREE)/test.ax2-std \
34 $(AXODRAW2_TREE)/example.tex
35
36 dist_check_SCRIPTS = $(TESTS)
37 CLEANFILES = test.ax2
38