From e3256d848d4b7f6725c791f1fe3b1aa5a8fbb904 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 22 Jan 1999 22:19:26 +0000 Subject: [PATCH] wow. kdvi takes the best parts of me when it comes to portable Makefiles ;) svn path=/trunk/kdegraphics/kdvi/; revision=15812 --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3e2a625da..13e6274e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -93,6 +93,8 @@ vf.c: $(kpathsea) $(kpathsea): test -d kpathsea || mkdir kpathsea - cd kpathsea && CC="$(CC)" CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" $(srcdir)/kpathsea/configure + oldpath=`pwd`; \ + cd $(srcdir) && newpath=`pwd`; \ + cd $$oldpath/kpathsea && CC="$(CC)" CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" $$newpath/kpathsea/configure cd kpathsea && $(MAKE)