fix getsup (HH)
[luatex.git] / source / Makefile.am
blob3807c07d0a1b7c918c2c4434cfafb1f382b0a4bc
1 ## $Id$
2 ## Makefile.am for the TeX Live top-level
3 ##
4 ## Copyright 2016      Karl Berry <tex-live@tug.org>
5 ## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
6 ## You may freely use, modify and/or distribute this file.
7 ##
8 ## Ensure aclocal.m4 is up to date
9 ACLOCAL = @ACLOCAL@ --force
11 ## speed up distcheck
12 AM_DISTCHECK_CONFIGURE_FLAGS = -C
13 ## check as well for symlinks
14 distuninstallcheck_listfiles = find . -type f -o -type l -print
15 distcleancheck_listfiles = find . -type f -o -type l -print
17 EXTRA_DIST = \
18         Build \
19         README.0overview \
20         README.1prerequisites \
21         README.2building \
22         README.3installing \
23         README.4layout \
24         README.5configure \
25         README.6cross \
26         README.7coding \
27         build-aux/README.TL \
28         m4/ChangeLog \
29         m4/README \
30         reautoconf
32 # Files not to be distributed
33 include $(srcdir)/am/dist_hook.am
35 SUBDIRS = . doc $(MAKE_SUBDIRS) libs utils texk
36 DIST_SUBDIRS = auxdir/auxsub doc $(CONF_SUBDIRS) libs utils texk
38 ## Configure and build subdirs.
40 recurse_this =
41 recurse_top =
43 include $(srcdir)/am/recurse.am
45 # This is the default target for the Build script in TeX Live.
46 .PHONY: world
47 # Run texlinks here since the binaries won't be there
48 # at install-data, and fmtutil.cnf won't be there at install-exec,
49 # and there is no install-hook or install-local.
50 texlinks_dir = texk/texlive/tl_scripts
51 world: all
52 ## Serialize 'make all' and 'make install-strip'.
53         @echo "top-level make $@: running install-strip..."
54         $(MAKE) $(AM_MAKEFLAGS) install-strip
56         @echo "top-level make $@: running texlinks in $(texlinks_dir) ..."
57         cd $(texlinks_dir) && $(MAKE) $(AM_MAKEFLAGS) run-texlinks
59         @echo "top-level make $@: running $(check_target)..."
60         $(MAKE) $(AM_MAKEFLAGS) $(check_target)
62         @echo "top-level make $@ done."
64 install-exec-hook:
65         @echo "WARNING: make install does not result in a usable TeX!"
66         @echo "  ! The binaries require the myriad support files."
67         @echo "  ! See http://tug.org/texlive/distro.html"
68         @echo "  ! and http://tug.org/texlive/build.html#deploy, for example."
70 # Allow for skipping make check if needed.
71 if cross
72 check_target = skip
73 else !cross
74 check_target = check
75 endif !cross
76 skip:
77 .PHONY: skip
79 # Directly run texlinks.
80 .PHONY: texlinks
81 texlinks:
82         cd $(texlinks_dir) && $(MAKE) $(AM_MAKEFLAGS) run-texlinks
84 # Special target to run TRIP and TRAP tests and create diffs.
85 .PHONY: triptrap
86 triptrap:
87         cd texk && $(MAKE) $(AM_MAKEFLAGS) $@