diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2003-04-28 01:28:08 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2003-04-28 01:28:08 -0400 |
commit | 03413d1c868839950b21fd0b10fa5f31fff83964 (patch) | |
tree | 69b5d38bd1d80a009b23a41cd40148e434e13e38 /makefile.in | |
parent | c812b42f4248ea1ab6641616f6aef08d402d9f92 (diff) | |
download | lynx-snapshots-03413d1c868839950b21fd0b10fa5f31fff83964.tar.gz |
snapshot of project "lynx", label v2-8-5dev_15
Diffstat (limited to 'makefile.in')
-rw-r--r-- | makefile.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/makefile.in b/makefile.in index 7f15cbb5..f9c93b42 100644 --- a/makefile.in +++ b/makefile.in @@ -54,12 +54,10 @@ 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 @@ -352,7 +350,7 @@ install-help : help_files.sed $(HELPDIR) (cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ fi' @echo Updating $(libdir)/lynx.cfg - $(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \ + @ECHO_CC@$(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \ mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.tmp ; \ else \ cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \ @@ -360,8 +358,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!$(helpdir1)!' \ - -e '/^[A-Z_]*:/s!PATH_TO/lynx_doc!$(docdir1)!' \ + -e '/^HELPFILE:file/s!/PATH_TO/lynx_help!$(helpdir)!' \ + -e '/^[A-Z_]*:/s!/PATH_TO/lynx_doc!$(docdir)!' \ -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ -e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg |