Debian Codegraph @

texk/musixtnt/Makefile.am

raw
1 ## $Id: Makefile.am 43617 2017-03-27 18:00:45Z karl $
2 ## Makefile.am for the TeX Live subdirectory texk/musixtnt/
3 ##
4 ## Copyright 2017 Karl Berry <[email protected]>
5 ## Copyright 2015 Peter Breitenlohner <[email protected]>
6 ## You may freely use, modify and/or distribute this file.
7
8 ## We want to re-distribute the whole musixtnt source tree.
9 EXTRA_DIST = $(MUSIXTNT_TREE)
10
11 ## Changes applied to the original source tree
12 EXTRA_DIST += TLpatches
13
14 # Files not to be distributed
15 include $(srcdir)/../../am/dist_hook.am
16 NEVER_NAMES += $(NEVER_NAMES_SUB)
17
18 AM_CPPFLAGS = -I$(top_srcdir)/$(MUSIXTNT_TREE) $(KPATHSEA_INCLUDES) -DKPATHSEA
19 AM_CFLAGS = $(WARNING_CFLAGS)
20
21 bin_PROGRAMS = msxlint
22
23 msxlint_SOURCES = \
24 @MUSIXTNT_TREE@/msxlint.c \
25 @MUSIXTNT_TREE@/utils.c
26
27 $(msxlint_OBJECTS): $(KPATHSEA_DEPEND)
28
29 LDADD = $(KPATHSEA_LIBS)
30
31 dist_man_MANS = \
32 $(MUSIXTNT_TREE)/msxlint.1
33
34 ## Rebuild libkpathsea
35 @KPATHSEA_RULE@
36
37 ## Tests
38 AM_TESTS_ENVIRONMENT = testsrc="$(srcdir)/$(MUSIXTNT_TREE)/tests"; export testsrc;
39 #
40 TESTS = $(MUSIXTNT_TREE)/msxlint.test
41 $(MUSIXTNT_TREE)/msxlint.log: msxlint$(EXEEXT)
42
43 DISTCLEANFILES = linttest.*
44 NEVER_DIST += $(TESTS:.test=.log) $(TESTS:.test=.trs)