--- texk/kpathsea/Makefile.in.orig 2020-07-04 19:42:36.000000000 -0700 +++ texk/kpathsea/Makefile.in 2020-07-04 19:42:38.000000000 -0700 @@ -763,7 +763,6 @@ $(am__append_1) libkpathsea_la_LDFLAGS = -bindir @bindir@ -no-undefined -version-info $(KPSE_LT_VERSINFO) libkpathsea_la_LIBADD = $(LTLIBOBJS) -BUILT_SOURCES = paths.h libkpathsea_la_SOURCES = tex-file.c absolute.c atou.c cnf.c concat.c \ concat3.c concatn.c db.c debug.c dir.c elt-dirs.c expand.c \ extend-fname.c file-p.c find-suffix.c fn.c fontmap.c hash.c \ @@ -845,7 +844,7 @@ pkgconfigdir = ${libdir}/pkgconfig pkgconfig_DATA = kpathsea.pc -DISTCLEANFILES = paths.h stamp-paths kpathsea.h +DISTCLEANFILES = paths.h kpathsea.h kpseaccess_SOURCES = access.c kpsereadlink_SOURCES = readlink.c kpsewhich_LDADD = libkpathsea.la @@ -854,7 +853,7 @@ progname_test_LDADD = libkpathsea.la xdirtest_LDADD = libkpathsea.la web2cdir = $(datarootdir)/texmf-dist/web2c -dist_noinst_DATA = texmf.cnf +dist_noinst_DATA = AM_TESTS_ENVIRONMENT = LN_S='$(LN_S)'; export LN_S; \ LT_OBJDIR='$(LT_OBJDIR)'; export LT_OBJDIR; # @@ -2370,26 +2369,6 @@ $(libkpathsea_la_OBJECTS): paths.h kpathsea.h -paths.h: stamp-paths -stamp-paths: texmf.cnf bsnl.awk cnf-to-paths.awk -# ensure grep is not completely broken, e.g., from GREP_OPTIONS. - echo a | grep -v b >/dev/null || { echo "*** grep broken, goodbye."; exit 1; } -# -# generate paths.h without build machine directories. - echo "/* paths.h: Generated from texmf.cnf. */" >paths.tmp - $(AWK) -f $(srcdir)/bsnl.awk $(srcdir)/texmf.cnf \ - | sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$$//' \ - | $(AWK) -f $(srcdir)/cnf-to-paths.awk \ - >>paths.tmp - @if cmp -s paths.h paths.tmp 2>/dev/null; then \ - echo "paths.h is unchanged"; \ - else \ - echo "cp paths.tmp paths.h"; \ - cp paths.tmp paths.h; \ - fi - rm -f paths.tmp - date >$@ - kpathsea.h: stamp-kpathsea stamp-kpathsea: Makefile paths.h $(AM_V_GEN)rm -f $@; \