From fc99820d832c512631aa418520f5bc6a204e8b91 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Wed, 15 Aug 2001 22:23:14 -0400 Subject: snapshot of project "lynx", label v2-8-5dev_2 --- makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'makefile.in') diff --git a/makefile.in b/makefile.in index 951e3f1c..73fb9395 100644 --- a/makefile.in +++ b/makefile.in @@ -54,10 +54,12 @@ LIBDIR= $(DESTDIR)$(libdir) ## Where you want the doc-files installed docdir= @libdir@/lynx_doc DOCDIR= $(DESTDIR)$(docdir) +docdir1= $(shell echo "$(docdir)"|sed -e 's!^/!!') ## Where you want the help-files installed helpdir= @libdir@/lynx_help HELPDIR= $(DESTDIR)$(helpdir) +helpdir1= $(shell echo "$(helpdir)"|sed -e 's!^/!!') ##set the relative location of the WWW library Implementation directory, ##from this directory @@ -394,8 +396,8 @@ install-help : help_files.sed $(HELPDIR) @echo Updating $(libdir)/lynx.cfg to point to installed help-files @ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \ -e '/^#HELPFILE:file/s!#!!' \ - -e '/^HELPFILE:file/s!/PATH_TO/lynx_help!$(helpdir)!' \ - -e '/^[A-Z_]*:/s!/PATH_TO/lynx_doc!$(docdir)!' \ + -e '/^HELPFILE:file/s!PATH_TO/lynx_help!$(helpdir1)!' \ + -e '/^[A-Z_]*:/s!PATH_TO/lynx_doc!$(docdir1)!' \ -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ -e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg -- cgit 1.4.1-2-gfad0