summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-24 08:56:10 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-24 08:56:10 +0000
commit8c9e19999acc6964e0ea1689190296b3b61cf7df (patch)
treef2b29c9296a71f2fd45183d8f263df0b336b54ea /Build/source/texk/mendexk
parentea36cf4d769e5c6188d49363c8db5a85a7aee35b (diff)
build system: Replace sed substitutions in configure by m4_bpatsubst() at autoconf time
git-svn-id: svn://tug.org/texlive/trunk@26120 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk')
-rwxr-xr-xBuild/source/texk/mendexk/configure26
1 files changed, 8 insertions, 18 deletions
diff --git a/Build/source/texk/mendexk/configure b/Build/source/texk/mendexk/configure
index bcb74e3f965..18ff1912c20 100755
--- a/Build/source/texk/mendexk/configure
+++ b/Build/source/texk/mendexk/configure
@@ -13987,15 +13987,10 @@ if test "x$with_kpathsea_libdir" != x && test "x$with_kpathsea_libdir" != xyes;
KPATHSEA_LIBS="-L$with_kpathsea_libdir $KPATHSEA_LIBS"
fi
else
- KPATHSEA_INCLUDES=`echo '-IBLD/texk -ISRC/texk' | sed \
- -e "s,SRC/,$kpse_SRC/,g" \
- -e "s,BLD/,$kpse_BLD/,g"`
- KPATHSEA_LIBS=`echo 'BLD/texk/kpathsea/libkpathsea.la' | sed \
- -e "s,BLD/,$kpse_BLD/,g"`
-
- KPATHSEA_DEPEND=`echo 'BLD/texk/kpathsea/libkpathsea.la' | sed \
- -e 's,BLD/texk/,${top_builddir}/../,g'`
- KPATHSEA_RULE='# Rebuild libkpathsea
+ KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
+ KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
+ KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
+ KPATHSEA_RULE='# Rebuild libkpathsea
$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
${top_builddir}/../kpathsea/paths.h:
@@ -14063,15 +14058,10 @@ if test "x$with_ptexenc_libdir" != x && test "x$with_ptexenc_libdir" != xyes; th
PTEXENC_LIBS="-L$with_ptexenc_libdir $PTEXENC_LIBS"
fi
else
- PTEXENC_INCLUDES=`echo '-IBLD/texk/ptexenc -ISRC/texk/ptexenc' | sed \
- -e "s,SRC/,$kpse_SRC/,g" \
- -e "s,BLD/,$kpse_BLD/,g"`
- PTEXENC_LIBS=`echo 'BLD/texk/ptexenc/libptexenc.la' | sed \
- -e "s,BLD/,$kpse_BLD/,g"`
-
- PTEXENC_DEPEND=`echo 'BLD/texk/ptexenc/libptexenc.la' | sed \
- -e 's,BLD/texk/,${top_builddir}/../,g'`
- PTEXENC_RULE='# Rebuild libptexenc
+ PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc"
+ PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la"
+ PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la'
+ PTEXENC_RULE='# Rebuild libptexenc
$(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h
cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild'
fi