summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/Makefile.am2
-rw-r--r--Build/source/texk/kpathsea/Makefile.in8
2 files changed, 4 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/Makefile.am b/Build/source/texk/kpathsea/Makefile.am
index 0ff3b8c5419..c24230ca9cb 100644
--- a/Build/source/texk/kpathsea/Makefile.am
+++ b/Build/source/texk/kpathsea/Makefile.am
@@ -192,7 +192,7 @@ kpseinclude_HEADERS = \
paths.h: stamp-paths
stamp-paths: texmf.cnf bsnl.awk
echo "/* paths.h: Generated from texmf.cnf. */" >paths.tmp
- awk -f $(srcdir)/bsnl.awk texmf.cnf \
+ awk -f $(srcdir)/bsnl.awk $(srcdir)/texmf.cnf \
| sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$$//' \
| grep '^[ ]*[A-Z0-9_]*[ =]' \
| sed '/^$$/d' \
diff --git a/Build/source/texk/kpathsea/Makefile.in b/Build/source/texk/kpathsea/Makefile.in
index 21fd3b2f197..80a9b5983e6 100644
--- a/Build/source/texk/kpathsea/Makefile.in
+++ b/Build/source/texk/kpathsea/Makefile.in
@@ -1650,13 +1650,11 @@ rebuild: all
$(libkpathsea_la_OBJECTS): paths.h kpathsea.h
-#
-#
-#
paths.h: stamp-paths
-stamp-paths: texmf.cnf
+stamp-paths: texmf.cnf bsnl.awk
echo "/* paths.h: Generated from texmf.cnf. */" >paths.tmp
- sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$$//' $< \
+ awk -f $(srcdir)/bsnl.awk $(srcdir)/texmf.cnf \
+ | sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$$//' \
| grep '^[ ]*[A-Z0-9_]*[ =]' \
| sed '/^$$/d' \
| sed 's/^\([^ =]*\)[ ]*=*[ ]*\(.*\)/#ifndef DEFAULT_\1%#define DEFAULT_\1 "\2"%#endif/' \