diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-08-04 21:32:23 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-08-04 21:32:23 +0000 |
commit | e2479a6d6cbfefaeb01bf115d478654cf4d7a510 (patch) | |
tree | 74746ebb6ffa362a2a8a4f91ae2375a0ca051c1c | |
parent | reorder install-doc and install-help targets (diff) |
fix HELPFILE in lynx.cfg.default for package
Notes
Notes:
svn path=/head/; revision=20528
-rw-r--r-- | www/lynx-current/files/patch-aa | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/www/lynx-current/files/patch-aa b/www/lynx-current/files/patch-aa index fee49d98de74..73ba775e6a39 100644 --- a/www/lynx-current/files/patch-aa +++ b/www/lynx-current/files/patch-aa @@ -1,5 +1,5 @@ --- makefile.in.orig Wed Jul 14 20:25:26 1999 -+++ makefile.in Thu Aug 5 00:12:23 1999 ++++ makefile.in Thu Aug 5 00:54:01 1999 @@ -306,7 +306,7 @@ @echo "Use $(MAKE) install-doc to install extra documentation files" @echo @@ -9,23 +9,46 @@ @echo Full installation complete. install-bin: $(BINDIR) -@@ -374,7 +374,7 @@ - chmod 644 $(LIBDIR)/lynx.cfg +@@ -357,24 +357,25 @@ + fi ; \ + )' + -rm -f $(HELPDIR)/help_files.sed +- @echo Updating $(libdir)/lynx.cfg +- $(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \ +- mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.tmp ; \ ++ @echo Updating $(libdir)/lynx.cfg.default ++ $(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg.default ; then \ ++ mv $(LIBDIR)/lynx.cfg.default $(LIBDIR)/lynx.tmp ; \ + else \ + cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \ + fi' +- @echo Updating $(libdir)/lynx.cfg to point to installed help-files ++ @echo Updating $(libdir)/lynx.cfg.default 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@$$@$(COMPRESS_EXT)@' \ + -e '/^HELPFILE:file/s@$(COMPRESS_EXT)$(COMPRESS_EXT)$$@$(COMPRESS_EXT)@' \ +- $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg +- chmod 644 $(LIBDIR)/lynx.cfg ++ $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg.default ++ chmod 644 $(LIBDIR)/lynx.cfg.default -rm -f $(LIBDIR)/lynx.tmp ++ -[ ! -f $(LIBDIR)/lynx.cfg ] && $(INSTALL_DATA) $(LIBDIR)/lynx.cfg.default $(LIBDIR)/lynx.cfg $(SHELL) -c 'for name in COPYING COPYHEADER; do \ - cd $(DOCDIR) && ( $(LN_S) $$name $(HELPDIR)/ || cp $$name $(HELPDIR)/ );\ + cd $(DOCDIR) && cp $$name $(HELPDIR)/;\ done' LYHelp.h : LYHelp.hin -@@ -406,8 +406,8 @@ +@@ -406,8 +407,7 @@ PATH=$(srcdir):$$PATH; export PATH; $(SHELL) -c '$(srcdir)/cfg_defs.sh' install-cfg : $(LIBDIR) - -mv -f $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg - $(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg + $(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg.default -+ -[ ! -f $(libdir)/lynx.cfg ] && $(INSTALL_DATA) $(srcdir)/lynx.cfg $(libdir)/lynx.cfg install-lss : $(LIBDIR) -mv -f $(LIBDIR)/lynx.lss $(LIBDIR)/lynx.oldlss |