| 1 |
## $Id: Makefile.am 77203 2025-12-28 23:00:46Z karl $ |
| 2 |
## Makefile.am for the TeX Live subdirectory texk/makeindexk/ |
| 3 |
## |
| 4 |
## Copyright 2015-2025 Karl Berry <[email protected]> |
| 5 |
## Copyright 2009-2015 Peter Breitenlohner <[email protected]> |
| 6 |
## You may freely use, modify and/or distribute this file. |
| 7 |
## |
| 8 |
AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA |
| 9 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 10 |
|
| 11 |
if !WIN32 |
| 12 |
dist_bin_SCRIPTS = mkindex |
| 13 |
endif !WIN32 |
| 14 |
|
| 15 |
bin_PROGRAMS = makeindex |
| 16 |
|
| 17 |
makeindex_SOURCES = \ |
| 18 |
genind.c \ |
| 19 |
genind.h \ |
| 20 |
mkind.c \ |
| 21 |
mkind.h \ |
| 22 |
qsort.c \ |
| 23 |
qsort.h \ |
| 24 |
scanid.c \ |
| 25 |
scanid.h \ |
| 26 |
scanst.c \ |
| 27 |
scanst.h \ |
| 28 |
sortid.c |
| 29 |
|
| 30 |
$(makeindex_OBJECTS): $(KPATHSEA_DEPEND) |
| 31 |
|
| 32 |
LDADD = $(KPATHSEA_LIBS) |
| 33 |
|
| 34 |
## Rebuild libkpathsea |
| 35 |
@KPATHSEA_RULE@ |
| 36 |
|
| 37 |
dist_man1_MANS = makeindex.1 mkindex.1 |
| 38 |
|
| 39 |
EXTRA_DIST = CONTRIB NOTES ind-src |
| 40 |
|
| 41 |
## emacs-page Tests |
| 42 |
## |
| 43 |
TEST_EXTENSIONS = .pl .test |
| 44 |
TESTS = tests/nested-range-test.pl tests/makeindex.test \ |
| 45 |
tests/pprec.test \ |
| 46 |
tests/nest.test |
| 47 |
tests/nested-range-test.log tests/makeindex.log: makeindex$(EXEEXT) |
| 48 |
EXTRA_DIST += $(TESTS) |
| 49 |
## |
| 50 |
EXTRA_DIST += tests/nested-range.tex tests/nested-range.idx \ |
| 51 |
tests/nested-range-bb.tex tests/nested-range-bb.idx |
| 52 |
DISTCLEANFILES = nested-range.ilg nested-range.ind |
| 53 |
## |
| 54 |
## tests/makeindex.test |
| 55 |
EXTRA_DIST += tests/sample.idx tests/sample.ind \ |
| 56 |
tests/tort.idx tests/tortW.idx tests/head1.ist \ |
| 57 |
tests/ok-tort.ind tests/ok-tort2.ind |
| 58 |
DISTCLEANFILES += sample.* tort*.* |
| 59 |
## |
| 60 |
## tests/pprec.test |
| 61 |
EXTRA_DIST += tests/range.idx \ |
| 62 |
tests/range1.ist tests/range2.ist tests/range3.ist tests/range4.ist \ |
| 63 |
tests/range1.ind tests/range2.ind tests/range3.ind tests/range4.ind \ |
| 64 |
tests/pprec0.ist tests/pprec1.ist tests/pprec2.ist tests/pprec3.ist \ |
| 65 |
tests/pprec4.ist tests/pprec5.ist tests/pprec6.ist tests/pprec7.ist \ |
| 66 |
tests/pprecA.idx tests/pprecA-0.ind tests/pprecA-1.ind tests/pprecA-2.ind \ |
| 67 |
tests/pprecB.idx tests/pprecB-0.ind tests/pprecB-3.ind tests/pprecB-4.ind \ |
| 68 |
tests/romalpA.idx tests/romalpA-5.ind tests/romalpA-6.ind \ |
| 69 |
tests/romalpB.idx tests/romalpB-5.ind tests/romalpB-6.ind tests/romalpB-7.ind \ |
| 70 |
tests/romalpC.idx tests/romalpC-5.ind \ |
| 71 |
tests/romalpD.idx tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind |
| 72 |
DISTCLEANFILES += range*.* pprec*.* romalp*.* |
| 73 |
## |
| 74 |
## tests/nest.test |
| 75 |
EXTRA_DIST += tests/nested3.ist tests/nested3.ind \ |
| 76 |
tests/toodeep.idx |
| 77 |
DISTCLEANFILES += nested*.* toodeep*.* |