1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/japanese/lynx-current/files/patch-aa
1999-12-10 16:37:56 +00:00

43 lines
1.5 KiB
Plaintext

--- makefile.in.orig Thu Nov 18 13:08:08 1999
+++ makefile.in Sat Dec 11 01:35:28 1999
@@ -310,7 +310,7 @@
@echo "Use $(MAKE) install-doc to install extra documentation files"
@echo
-install-full: install install-help install-doc
+install-full: install install-doc install-help
@echo Full installation complete.
install-bin: $(BINDIR) lynx$x
@@ -326,7 +326,7 @@
(cd $(srcdir) && tar cf - C[HO]* PROBLEMS README samples test ) | \
( cd $(DOCDIR) && tar xf - )
$(SHELL) -c 'for name in COPYING COPYHEADER; do \
- cd $(HELPDIR) && ( $(LN_S) $(DOCDIR)/$$name . || cp $(DOCDIR)/$$name . );\
+ cd $(HELPDIR) && cp $(DOCDIR)/$$name . ;\
done'
# HPUX 'sed' does not seem to like '=' as pattern delimiter.
@@ -366,10 +366,9 @@
-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 ; \
- else \
- cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
+ mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg ; \
fi'
+ @cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp
@echo Updating $(libdir)/lynx.cfg to point to installed help-files
@ECHO_CC@sed -e '/^HELPFILE:http/s@^@#@' \
-e '/^#HELPFILE:file/s@#@@' \
@@ -380,6 +379,8 @@
$(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg
chmod 644 $(LIBDIR)/lynx.cfg
-rm -f $(LIBDIR)/lynx.tmp
+ -[ ! -f $(LIBDIR)/lynx.cfg.sample ] && $(INSTALL_DATA) $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.cfg.sample
+
LYHelp.h : LYHelp.hin
@echo Constructing sed-script