about summary refs log tree commit diff stats
path: root/makefile.in
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2001-08-15 22:23:14 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2001-08-15 22:23:14 -0400
commitfc99820d832c512631aa418520f5bc6a204e8b91 (patch)
tree6822b3a150ca0ef4e7f9bc3dc2d3dc95d63dc7ca /makefile.in
parent864412f0359169368927737c2908ff357ea343a0 (diff)
downloadlynx-snapshots-fc99820d832c512631aa418520f5bc6a204e8b91.tar.gz
snapshot of project "lynx", label v2-8-5dev_2
Diffstat (limited to 'makefile.in')
-rw-r--r--makefile.in6
1 files changed, 4 insertions, 2 deletions
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