summaryrefslogtreecommitdiff
path: root/Build/source/Makefile.am
blob: ef6b765309ce1d022abf37dcb893660971a982ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## Makefile.am for the TeX Live top-level
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
## Use 'aclocal --force' (for "computed m4_sinclude")
##
ACLOCAL_AMFLAGS = -I m4 --force

## speed up distcheck
DISTCHECK_CONFIGURE_FLAGS = -C

EXTRA_DIST = \
	Build \
	README.config \
	README.cross \
	README.hacking \
	README.layout \
	build-aux/README.TL \
	build-aux/mkinstalldirs \
	m4/README \
	reautoconf

# just in case a subdirectory has added directories
dist-hook:
	rm -rf `find $(distdir) -name .svn`

if build_kpathsea
SUBDIRS = texk/kpathsea
else !build_kpathsea
SUBDIRS =
endif !build_kpathsea
SUBDIRS += libs utils texk

# This is the default target for the Build script in TeX Live.
.PHONY: world
# Run texlinks here since the binaries won't be there 
# at install-data, and fmtutil.cnf won't be there at install-exec,
# and there is no install-hook or install-local.
world: all
## Serialize 'make all' and 'make install-strip'.
	$(MAKE) $(AM_MAKEFLAGS) install-strip
##
	@echo "top-level make $@: running texlinks in texk/tetex..."
	cd texk/tetex && $(MAKE) $(AM_MAKEFLAGS) run-texlinks
##
	@echo "make $@ done."