From cf74cf09c11c41ec3ea684af9849c0a16f927b3c Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 8 Nov 1999 22:08:28 +0000 Subject: [PATCH] Easy problem, easy fix. Stephan said we need at least one C++ file. Here it is :) kdvi now compiles. svn path=/trunk/kdegraphics/kdvi/; revision=33290 --- kpathsea/Makefile.am | 6 +++--- kpathsea/dummy.cpp | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 kpathsea/dummy.cpp diff --git a/kpathsea/Makefile.am b/kpathsea/Makefile.am index cd48c08e6..1fda39ccf 100644 --- a/kpathsea/Makefile.am +++ b/kpathsea/Makefile.am @@ -3,7 +3,7 @@ INCLUDES = -I$(srcdir)/.. -I.. noinst_LTLIBRARIES = libkpathsea.la -libkpathsea_la_SOURCES = tex-file.c absolute.c basename.c cnf.c concat.c concat3.c \ +libkpathsea_la_SOURCES = dummy.cpp tex-file.c absolute.c basename.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 getopt.c getopt1.c hash.c itoa.c kdefault.c \ line.c magstep.c make-suffix.c path-elt.c pathsearch.c proginit.c \ @@ -39,7 +39,7 @@ texmf.cnf: texmf.cnf.in texmf.sed # The idea is to turn each var=value into s%@var@%value%g. Seems simpler # to put the substitutions in a file than to play shell games. -texmf.sed: $(top_srcdir)/../make/makevars.make +texmf.sed: echo $(makevars) \ | tr ' ' '\012' \ | sed -e 's/^/s%@/' -e 's/=/@%/' -e 's/$$/%/' -e 's/$$/g/' \ @@ -88,4 +88,4 @@ distclean-local: kpathsea.info-2 kpathsea.info kpathsea.info-3 -$(srcdir)/tex-file.c: paths.h \ No newline at end of file +$(srcdir)/tex-file.c: paths.h diff --git a/kpathsea/dummy.cpp b/kpathsea/dummy.cpp new file mode 100644 index 000000000..eb790d797 --- /dev/null +++ b/kpathsea/dummy.cpp @@ -0,0 +1,2 @@ +#define thisisadummyfile +