diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-13 09:08:03 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-13 09:08:03 +0000 |
commit | f489c4a3cbe48bee36e7450fde15fcc07191c4a3 (patch) | |
tree | 0ee118574b1ab6b0f3e7084ef2b128121f1642ea /Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL | |
parent | f0a58db7edea32e3bd100add19aab00c225ecb94 (diff) |
update xindy build (again)
git-svn-id: svn://tug.org/texlive/trunk@18228 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL')
-rw-r--r-- | Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL index 11832d65aa3..88f6c31fbea 100644 --- a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL +++ b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-61-detect-TL @@ -1,19 +1,6 @@ -diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/configure.ac xindy/configure.ac ---- xindy.orig/configure.ac 2010-05-11 01:12:10.000000000 +0200 -+++ xindy/configure.ac 2010-05-12 11:23:08.972502978 +0200 -@@ -162,4 +162,9 @@ - doc/style-tutorial/Makefile - ]) - -+# In a TeX Live build enable_texlive_build is yes, otherwise undefined. -+AC_SUBST([is_TL], ["$enable_texlive_build"]) -+AC_CONFIG_FILES([user-commands/texindy], [chmod +x user-commands/texindy]) -+AC_CONFIG_FILES([user-commands/xindy], [chmod +x user-commands/xindy]) -+ - AC_OUTPUT -diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/user-commands/Makefile.am xindy/user-commands/Makefile.am +diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/Makefile.am xindy/user-commands/Makefile.am --- xindy.orig/user-commands/Makefile.am 2010-05-11 01:15:51.000000000 +0200 -+++ xindy/user-commands/Makefile.am 2010-05-12 11:27:23.459084841 +0200 ++++ xindy/user-commands/Makefile.am 2010-05-12 21:23:55.065336668 +0200 @@ -26,12 +26,14 @@ if TEXLIVE_BUILD @@ -26,32 +13,41 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/user-commands/Makefile.a $(MKDIR_P) "$(DESTDIR)$(scriptsdir)" @for f in $(scripts); do \ - $(INSTALL_SCRIPT) "$(srcdir)/$$f.in" "$(DESTDIR)$(scriptsdir)/$$f.pl"; \ -+ $(INSTALL_SCRIPT) "$$f" "$(DESTDIR)$(scriptsdir)/$$f.pl"; \ ++ $(INSTALL_SCRIPT) $$f "$(DESTDIR)$(scriptsdir)/$$f.pl"; \ done case "$(bindir)" in \ */bin) $(MAKE) $(AM_MAKEFLAGS) REL=.. install-links;; \ -@@ -57,17 +59,9 @@ +@@ -53,17 +55,23 @@ + rm -f "$(DESTDIR)$(scriptsdir)/$$f.pl"; \ + done + ++sed_cmd = sed -e 's:@is_TL\@:yes:' ++ + else !TEXLIVE_BUILD bin_SCRIPTS += $(scripts) --texindy: texindy.in Makefile ++sed_cmd = sed -e 's:@libdir\@:$(libdir):' ++ ++endif !TEXLIVE_BUILD ++ + texindy: texindy.in Makefile - sed -e 's:@libdir\@:$(libdir):' $(srcdir)/texindy.in >texindy -- --xindy: xindy.in Makefile ++ $(sed_cmd) $(srcdir)/$@.in >$@ ++ chmod +x $@ + + xindy: xindy.in Makefile - sed -e 's:@libdir\@:$(libdir):' $(srcdir)/xindy.in >xindy - - endif !TEXLIVE_BUILD +-endif !TEXLIVE_BUILD ++ $(sed_cmd) $(srcdir)/$@.in >$@ ++ chmod +x $@ man_MANS = texindy.1 xindy.1 --EXTRA_DIST = $(man_MANS) texindy.in xindy.in -- --CLEANFILES = $(scripts) -+EXTRA_DIST = $(man_MANS) - -diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/user-commands/texindy.in xindy/user-commands/texindy.in +diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/texindy.in xindy/user-commands/texindy.in --- xindy.orig/user-commands/texindy.in 2010-05-11 01:39:24.000000000 +0200 -+++ xindy/user-commands/texindy.in 2010-05-12 11:09:38.891995103 +0200 ++++ xindy/user-commands/texindy.in 2010-05-12 11:09:39.000000000 +0200 @@ -352,6 +352,7 @@ # Determine environment. Where is our library directory, and our modules? @@ -76,9 +72,9 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/user-commands/texindy.in if ( $is_w32 ) { $xindy = "$cmd_dir/xindy.pl"; -diff -ur -N -x Makefile.in -x autom4te.cache xindy.orig/user-commands/xindy.in xindy/user-commands/xindy.in +diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/xindy.in xindy/user-commands/xindy.in --- xindy.orig/user-commands/xindy.in 2010-05-11 01:39:24.000000000 +0200 -+++ xindy/user-commands/xindy.in 2010-05-12 11:09:37.247697554 +0200 ++++ xindy/user-commands/xindy.in 2010-05-12 11:09:37.000000000 +0200 @@ -337,6 +337,7 @@ # Determine environment. Where is our library directory, and our modules? |