diff -ru sowing-1.1.11/Makefile.in patch/Makefile.in --- sowing-1.1.11/Makefile.in 2006-02-27 10:45:34.000000000 -0600 +++ patch/Makefile.in 2007-10-05 08:57:37.000000000 -0500 @@ -9,6 +9,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ SHELL = @SHELL@ +top_srcdir=@top_srcdir@ all-redirect: tohtml bfort doctext mapnames @@ -72,35 +73,33 @@ fi $(INSTALL_PROGRAM) src/bfort/bfort $(bindir)/bfort $(INSTALL_PROGRAM) src/mapnames/mapnames $(bindir)/mapnames - if [ "`cd share && pwd`" != "`cd $(datadir) && pwd`" ] ; then \ - $(INSTALL_DATA) share/pstoppm.ps $(datadir)/pstoppm.ps ;\ - $(INSTALL_DATA) share/basedefs.txt $(datadir)/basedefs.txt ;\ - $(INSTALL_DATA) share/blueball.gif $(datadir)/blueball.gif ;\ - $(INSTALL_DATA) share/greenball.gif $(datadir)/greenball.gif ;\ - $(INSTALL_DATA) share/purpleball.gif $(datadir)/purpleball.gif ;\ - $(INSTALL_DATA) share/redball.gif $(datadir)/redball.gif ;\ - $(INSTALL_DATA) share/yellowball.gif $(datadir)/yellowball.gif ;\ - $(INSTALL_DATA) share/next.xbm $(datadir)/next.xbm ;\ - $(INSTALL_DATA) share/up.xbm $(datadir)/up.xbm ;\ - $(INSTALL_DATA) share/previous.xbm $(datadir)/previous.xbm ;\ - $(INSTALL_DATA) share/html.def $(datadir)/html.def ;\ - $(INSTALL_DATA) share/latex.def $(datadir)/latex.def ;\ - $(INSTALL_DATA) share/nroff.def $(datadir)/nroff.def ;\ - $(INSTALL_DATA) share/refman.def $(datadir)/refman.def ;\ - $(INSTALL_DATA) share/refman.sty $(datadir)/refman.sty ;\ - $(INSTALL_DATA) share/doctext/html.def $(datadir)/doctext/html.def ;\ - $(INSTALL_DATA) share/doctext/htmltabl.def $(datadir)/doctext/htmltabl.def ;\ - $(INSTALL_DATA) share/doctext/htmlargtbl.def \ - $(datadir)/doctext/htmlargtbl.def ;\ - $(INSTALL_DATA) share/doctext/latex.def $(datadir)/doctext/latex.def ;\ - $(INSTALL_DATA) share/doctext/latexargtbl.def \ - $(datadir)/doctext/latexargtbl.def ;\ - $(INSTALL_DATA) share/doctext/nroff.def $(datadir)/doctext/nroff.def ;\ - fi - -if [ "`cd man/man1 && pwd`" != "`cd $(man1dir) && pwd`" ] ; then \ - $(INSTALL_DATA) man/man1/tohtml.1 $(man1dir)/tohtml.1 ;\ - $(INSTALL_DATA) man/man1/doctext.1 $(man1dir)/doctext.1 ;\ - $(INSTALL_DATA) man/man1/bfort.1 $(man1dir)/bfort.1 ;\ + if [ "`cd ${top_srcdir}/share && pwd`" != "`cd $(datadir) && pwd`" ] ; then \ + $(INSTALL_DATA) ${top_srcdir}/share/pstoppm.ps $(datadir)/pstoppm.ps ;\ + $(INSTALL_DATA) ${top_srcdir}/share/basedefs.txt $(datadir)/basedefs.txt ;\ + $(INSTALL_DATA) ${top_srcdir}/share/blueball.gif $(datadir)/blueball.gif ;\ + $(INSTALL_DATA) ${top_srcdir}/share/greenball.gif $(datadir)/greenball.gif ;\ + $(INSTALL_DATA) ${top_srcdir}/share/purpleball.gif $(datadir)/purpleball.gif ;\ + $(INSTALL_DATA) ${top_srcdir}/share/redball.gif $(datadir)/redball.gif ;\ + $(INSTALL_DATA) ${top_srcdir}/share/yellowball.gif $(datadir)/yellowball.gif ;\ + $(INSTALL_DATA) ${top_srcdir}/share/next.xbm $(datadir)/next.xbm ;\ + $(INSTALL_DATA) ${top_srcdir}/share/up.xbm $(datadir)/up.xbm ;\ + $(INSTALL_DATA) ${top_srcdir}/share/previous.xbm $(datadir)/previous.xbm ;\ + $(INSTALL_DATA) ${top_srcdir}/share/html.def $(datadir)/html.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/latex.def $(datadir)/latex.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/nroff.def $(datadir)/nroff.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/refman.def $(datadir)/refman.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/refman.sty $(datadir)/refman.sty ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/html.def $(datadir)/doctext/html.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/htmltabl.def $(datadir)/doctext/htmltabl.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/htmlargtbl.def $(datadir)/doctext/htmlargtbl.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/latex.def $(datadir)/doctext/latex.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/latexargtbl.def $(datadir)/doctext/latexargtbl.def ;\ + $(INSTALL_DATA) ${top_srcdir}/share/doctext/nroff.def $(datadir)/doctext/nroff.def ;\ + fi + -if [ "`cd ${top_srcdir}/man/man1 && pwd`" != "`cd $(man1dir) && pwd`" ] ; then \ + $(INSTALL_DATA) ${top_srcdir}/man/man1/tohtml.1 $(man1dir)/tohtml.1 ;\ + $(INSTALL_DATA) ${top_srcdir}/man/man1/doctext.1 $(man1dir)/doctext.1 ;\ + $(INSTALL_DATA) ${top_srcdir}/man/man1/bfort.1 $(man1dir)/bfort.1 ;\ fi uninstall: diff -ru sowing-1.1.11/src/bfort/Makefile.in patch/src/bfort/Makefile.in --- sowing-1.1.11/src/bfort/Makefile.in 2000-02-24 10:43:50.000000000 -0600 +++ patch/src/bfort/Makefile.in 2007-10-04 17:13:59.000000000 -0500 @@ -9,7 +9,7 @@ INCLUDES = -I${top_srcdir}/include LIBS = ../../lib/libsowing.a -INCLUDES = -I${top_srcdir}/include +INCLUDES = -I${top_srcdir}/include -I../../include DEFS = -DBASEDEF='"@datadir@/basedefs.txt"' PROGRAMS = bfort diff -ru sowing-1.1.11/src/doctext/Makefile.in patch/src/doctext/Makefile.in --- sowing-1.1.11/src/doctext/Makefile.in 2000-11-20 12:38:42.000000000 -0600 +++ patch/src/doctext/Makefile.in 2007-10-04 17:09:10.000000000 -0500 @@ -5,7 +5,7 @@ # SHELL = @SHELL@ -INCLUDES = -I${top_srcdir}/include/textfilt -I${top_srcdir}/include +INCLUDES = -I${top_srcdir}/include/textfilt -I${top_srcdir}/include -I. -I../../include include ../../Makerules top_srcdir=@top_srcdir@ diff -ru sowing-1.1.11/src/sys/Makefile.in patch/src/sys/Makefile.in --- sowing-1.1.11/src/sys/Makefile.in 2000-02-24 10:43:51.000000000 -0600 +++ patch/src/sys/Makefile.in 2007-10-04 17:11:09.000000000 -0500 @@ -6,7 +6,7 @@ srcdir=@srcdir@ @VPATH@ -INCLUDES = -I${top_srcdir}/include +INCLUDES = -I${top_srcdir}/include -I../../include OBJS = arch.o txt.o daytime.o file.o tr.o getopts.o diff -ru sowing-1.1.11/src/textfilt/Makefile.in patch/src/textfilt/Makefile.in --- sowing-1.1.11/src/textfilt/Makefile.in 2000-02-24 10:43:51.000000000 -0600 +++ patch/src/textfilt/Makefile.in 2007-10-04 17:08:51.000000000 -0500 @@ -10,7 +10,7 @@ srcdir=@srcdir@ @VPATH@ -INCLUDES = -I${top_srcdir}/include/textfilt -I${top_srcdir}/include +INCLUDES = -I${top_srcdir}/include/textfilt -I${top_srcdir}/include -I../../include -I../../include/textfilt LIBS = ../../lib/libtfilter.a diff -ru sowing-1.1.11/src/tohtml/Makefile.in patch/src/tohtml/Makefile.in --- sowing-1.1.11/src/tohtml/Makefile.in 2001-11-21 16:03:32.000000000 -0600 +++ patch/src/tohtml/Makefile.in 2007-10-04 17:13:21.000000000 -0500 @@ -7,7 +7,7 @@ @VPATH@ LIBS = ../../lib/libsowing.a -INCLUDES = -I${top_srcdir}/include +INCLUDES = -I${top_srcdir}/include -I. -I../../include DEFS = -DPSPATH='"@bindir@/"' \ -DBMSOURCE='"@datadir@/"' \ -DBASEDEF='"@datadir@/basedefs.txt"'