1 | # $Id: Makefile.am,v 1.14 2004/08/26 11:43:18 karl Exp $
|
---|
2 | # Makefile.am for texinfo/util.
|
---|
3 | # Run automake in .. to produce Makefile.in from this.
|
---|
4 | #
|
---|
5 | # This file is free software; as a special exception the author gives
|
---|
6 | # unlimited permission to copy and/or distribute it, with or without
|
---|
7 | # modifications, as long as this notice is preserved.
|
---|
8 | #
|
---|
9 | # This program is distributed in the hope that it will be useful, but
|
---|
10 | # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
---|
11 | # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
12 |
|
---|
13 | bin_PROGRAMS = ginstall-info texindex
|
---|
14 | bin_SCRIPTS = texi2dvi texi2pdf
|
---|
15 |
|
---|
16 | # Use `ginstall-info' in the definition of PROGRAMS and in dependencies
|
---|
17 | # because automake generates an install-info target in every Makefile (a
|
---|
18 | # bug, IMHO, but this is easier than patching Automake.)
|
---|
19 | ginstall_info_SOURCES = install-info.c
|
---|
20 |
|
---|
21 | # Transform `ginstall-info' to `install-info' before applying any
|
---|
22 | # user-specified name transformations.
|
---|
23 | transform = s/ginstall-info/install-info/; $(program_transform_name)
|
---|
24 |
|
---|
25 | localedir = $(datadir)/locale
|
---|
26 | INCLUDES = -I$(top_srcdir)/lib -I../intl -DLOCALEDIR=\"$(localedir)\"
|
---|
27 | LDADD = ../lib/libtxi.a $(LIBINTL)
|
---|
28 |
|
---|
29 | dist_pkgdata_DATA = texinfo.dtd texinfo.xsl
|
---|
30 | pkgdata_DATA = texinfo.cat
|
---|
31 |
|
---|
32 | # we don't actually use version.texi in the rule, but it's one way of
|
---|
33 | # noticing when the version changes.
|
---|
34 | texinfo.cat: texinfo-cat.in $(top_srcdir)/doc/version.texi
|
---|
35 | sed 's/__VERSION__/@VERSION@/g' $(srcdir)/texinfo-cat.in >$@
|
---|
36 |
|
---|
37 | # Most of these are for fun. The only official/installed ones are the
|
---|
38 | # texi2* scripts.
|
---|
39 | #
|
---|
40 | EXTRA_DIST = README deref.c dir-example fix-info-dir fixfonts \
|
---|
41 | fixref.gawk gdoc gen-dir-node gendocs.sh gendocs_template infosrch \
|
---|
42 | install-info-html outline.gawk \
|
---|
43 | prepinfo.awk tex3patch texi-docstring-magic.el texi2dvi texi2pdf txitextest \
|
---|
44 | $(dist_pkgdata_DATA) texinfo-cat.in
|
---|
45 | CLEANFILES = $(pkgdata_DATA)
|
---|