Debian Codegraph @

utils/vlna/Makefile.am

raw
1 ## $Id: Makefile.am 43567 2017-03-21 17:43:10Z karl $
2 ## Makefile.am for the TeX Live subdirectory utils/vlna/
3 ##
4 ## Copyright 2017 Karl Berry <[email protected]>
5 ## Copyright 2008-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 original vlna source tree.
9 EXTRA_DIST = $(VLNA_TREE)
10
11 ## Patches 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
17 AM_CFLAGS = $(WARNING_CFLAGS)
18
19 bin_PROGRAMS = vlna
20 man1_MANS = $(VLNA_TREE)/vlna.man
21
22 EXTRA_DIST += vlna.dvi vlna.tex vlna.idx vlna.scn
23
24 CLEANFILES = vlna.log vlna.toc
25
26 vlna.dvi: vlna.tex vlna.idx vlna.scn
27 TEXINPUTS=.:$(srcdir)/$(VLNA_TREE):$$TEXINPUTS $(CSPLAIN) vlna.tex
28
29 # Running cweave in order to create vlna.tex generates in addition
30 # vlna.idx and vlna.scn; we must rerun cweave when they are not
31 # up to date (even if vlna.tex is up to date). Thus the sub-make.
32 #
33 vlna.tex vlna.idx vlna.scn: $(VLNA_TREE)/vlna.w
34 $(MAKE) $(AM_MAKEFLAGS) do-cweave
35 do-cweave: $(VLNA_TREE)/vlna.w .FORCE
36 $(CWEAVE) $<
37 .PHONY: do-cweave .FORCE
38
39 if do_cweb
40 all-local: vlna.dvi
41 vlna.c: $(VLNA_TREE)/vlna.w
42 $(CTANGLE) $<
43 else !do_cweb
44 all-local:
45 endif !do_cweb