changed property executable
[luatex.git] / source / Makefile.am
blobba2b04fd80f29f5a9e01d748c0806ec8a097f084
1 ## Makefile.am for the TeX Live top-level
2 ##
3 ## Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org>
4 ## You may freely use, modify and/or distribute this file.
5 ##
6 ## Ensure aclocal.m4 is up to date
7 ACLOCAL = @ACLOCAL@ --force
9 ## speed up distcheck
10 AM_DISTCHECK_CONFIGURE_FLAGS = -C
11 ## check as well for symlinks
12 distuninstallcheck_listfiles = find . -type f -o -type l -print
13 distcleancheck_listfiles = find . -type f -o -type l -print
15 EXTRA_DIST = \
16         Build \
17         README.0overview \
18         README.1prerequisites \
19         README.2building \
20         README.3installing \
21         README.4layout \
22         README.5configure \
23         README.6cross \
24         README.7coding \
25         build-aux/README.TL \
26         m4/ChangeLog \
27         m4/README \
28         reautoconf
30 # just in case a subdirectory has added directories
31 dist-hook:
32         rm -rf `find $(distdir) -name .svn`
34 SUBDIRS = . doc $(MAKE_SUBDIRS) libs utils texk
35 DIST_SUBDIRS = auxdir/auxsub doc $(CONF_SUBDIRS) libs utils texk
37 ## Configure and build subdirs.
39 recurse_this =
40 recurse_top =
42 include $(srcdir)/am/recurse.am
44 # This is the default target for the Build script in TeX Live.
45 .PHONY: world
46 # Run texlinks here since the binaries won't be there
47 # at install-data, and fmtutil.cnf won't be there at install-exec,
48 # and there is no install-hook or install-local.
49 texlinks_dir = texk/texlive/tl_scripts
50 world: all
51 ## Serialize 'make all' and 'make install-strip'.
52         @echo "top-level make $@: running install-strip..."
53         $(MAKE) $(AM_MAKEFLAGS) install-strip
55         @echo "top-level make $@: running texlinks in $(texlinks_dir) ..."
56         cd $(texlinks_dir) && $(MAKE) $(AM_MAKEFLAGS) run-texlinks
58         @echo "top-level make $@: running $(check_target)..."
59         $(MAKE) $(AM_MAKEFLAGS) $(check_target)
61         @echo "top-level make $@ done."
63 # Allow for skipping make check if needed.
64 if cross
65 check_target = skip
66 else !cross
67 check_target = check
68 endif !cross
69 skip:
70 .PHONY: skip
72 # Directly run texlinks.
73 .PHONY: texlinks
74 texlinks:
75         cd $(texlinks_dir) && $(MAKE) $(AM_MAKEFLAGS) run-texlinks
77 # Special target to run TRIP and TRAP tests and create diffs.
78 .PHONY: triptrap
79 triptrap:
80         cd texk && $(MAKE) $(AM_MAKEFLAGS) $@