diff options
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/Makefile.in')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/Makefile.in b/Build/source/texk/web2c/pdftexdir/Makefile.in index 59a3f6a86c5..ad8d39f5b7e 100644 --- a/Build/source/texk/web2c/pdftexdir/Makefile.in +++ b/Build/source/texk/web2c/pdftexdir/Makefile.in @@ -58,7 +58,9 @@ clean:: rm -f libpdf.a ttf2afm pdftosrc depend: - $(CXX) -MM $(ALL_CPPFLAGS) $(srcdir)/*.c | \ - cat >$(srcdir)/depend.mk + $(CXX) -MM $(ALL_CPPFLAGS) $(srcdir)/*.c \ + | sed -e 's, $(srcdir)/, $$(srcdir)/,g' \ + -e 's, $(top_srcdir)/, $$(top_srcdir)/,g' \ + | cat >$(srcdir)/depend.mk kpse_include pdftexdir/depend.mk |