diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 10:15:32 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 10:15:32 +0000 |
commit | d7f8ab6ea1a683492b985013a541ab11e33b9f73 (patch) | |
tree | a8b719cba4c45e2e308b53ebbd0ebb313a7cbf36 /Build/source/texk/makeindexk | |
parent | 9d502c516fe61658f540e6b98621632b91deb53c (diff) |
new build system
git-svn-id: svn://tug.org/texlive/trunk@12458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makeindexk')
-rw-r--r-- | Build/source/texk/makeindexk/Makefile.am | 38 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/configure.ac | 27 |
2 files changed, 65 insertions, 0 deletions
diff --git a/Build/source/texk/makeindexk/Makefile.am b/Build/source/texk/makeindexk/Makefile.am new file mode 100644 index 00000000000..fb4b84be96f --- /dev/null +++ b/Build/source/texk/makeindexk/Makefile.am @@ -0,0 +1,38 @@ +## +ACLOCAL_AMFLAGS = -I ../../m4 + +INCLUDES = $(KPATHSEA_INCLUDES) +AM_CPPFLAGS = -DUNIX -DKPATHSEA + +dist_bin_SCRIPTS = mkindex + +bin_PROGRAMS = makeindex + +makeindex_SOURCES = \ + genind.c \ + genind.h \ + mkind.c \ + mkind.h \ + qsort.c \ + scanid.c \ + scanid.h \ + scanst.c \ + scanst.h \ + sortid.c + +makeindex_DEPENDENCIES = $(KPATHSEA_DEPEND) + +LDADD = $(KPATHSEA_LIBS) + +## Rebuild libkpathsea +@KPATHSEA_RULE@ + +dist_man1_MANS = makeindex.1 mkindex.1 + +EXTRA_DIST = ACK CONTRIB FILES NOTES PORTING + +## Eventually delete these files +## + +EXTRA_DIST += Makefile.in.orig configure.in.orig + diff --git a/Build/source/texk/makeindexk/configure.ac b/Build/source/texk/makeindexk/configure.ac new file mode 100644 index 00000000000..55362a67d49 --- /dev/null +++ b/Build/source/texk/makeindexk/configure.ac @@ -0,0 +1,27 @@ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +dnl +dnl This file is free software; the copyright holder +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +AC_INIT([makeindex for TeX Live], [2.15], [tex-k@tug.org]) +AC_PREREQ([2.63]) +AC_CONFIG_SRCDIR([mkind.c]) +AC_CONFIG_AUX_DIR([../../build-aux]) +AC_CONFIG_MACRO_DIR([../../m4]) + +dnl Common code for all programs using libkpathsea. +KPSE_COMMON([makeindexk], [no-define]) + +AC_CONFIG_HEADERS([c-auto.h:c-auto.in]) + +AC_CHECK_HEADERS([ctype.h types.h locale.h]) +AC_CHECK_FUNCS([strchr strrchr setlocale]) + +KPSE_KPATHSEA_FLAGS + +AC_CONFIG_FILES([Makefile]) + +AC_OUTPUT |