summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1998-03-14 17:16:08 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1998-03-14 17:16:08 +0000
commit54f42f1c595fb14e92bb99d4f8902a60afa5205a (patch)
treeccb387d4866be42453bf33dba0247601e932e713
parent6c3286a4a2afb917d82c5ec2a892f1077c1314a1 (diff)
install helpfiles in locally. -moj
-rw-r--r--gnu/usr.bin/lynx/Makefile.bsd-wrapper26
-rw-r--r--gnu/usr.bin/lynx/lynx.cfg4
2 files changed, 24 insertions, 6 deletions
diff --git a/gnu/usr.bin/lynx/Makefile.bsd-wrapper b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
index 7cffcb53b5e..847104dbb3b 100644
--- a/gnu/usr.bin/lynx/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
@@ -1,9 +1,19 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1998/03/11 20:06:32 maja Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1998/03/14 17:16:06 maja Exp $
MAN= lynx.1
CLEANFILES= lynx.1
-LDFLAGS+= -s ${LDSTATIC}
-GNUCFLAGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+GNUCFLAGS= CFLAGS="${CFLAGS}"
+HTMLDIR= /usr/share/doc/html
+HELPFILES= keystrokes/bookmark_help.html keystrokes/cookie_help.html \
+ keystrokes/dired_help.html keystrokes/edit_help.html \
+ keystrokes/follow_help.html keystrokes/gopher_types_help.html \
+ keystrokes/history_help.html keystrokes/keystroke_help.html \
+ keystrokes/movement_help.html keystrokes/option_help.html \
+ keystrokes/other_help.html keystrokes/print_help.html \
+ keystrokes/scrolling_help.html keystrokes/visited_help.html \
+ keystrokes/xterm_help.html Lynx_users_guide.html \
+ about_lynx.html lynx-dev.html lynx_help_main.html \
+ lynx_url_support.html
all: config.status lynx.cat1
${MAKE} ${GNUCFLAGS}
@@ -37,7 +47,15 @@ maninstall:
@echo NOMAN is set
.endif
-install: maninstall
+helpinstall:
+ @-for i in ${HELPFILES}; do \
+ j=`dirname $$i`; \
+ echo "Installing ${DESTDIR}${HTMLDIR}/lynx_help/$$i"; \
+ ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/lynx_help/$$i ${DESTDIR}${HTMLDIR}/lynx_help/$$j/; \
+ done
+
+install: maninstall helpinstall
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
lynx ${DESTDIR}/usr/bin/lynx
diff --git a/gnu/usr.bin/lynx/lynx.cfg b/gnu/usr.bin/lynx/lynx.cfg
index e38eb1ff689..38a6b520ca7 100644
--- a/gnu/usr.bin/lynx/lynx.cfg
+++ b/gnu/usr.bin/lynx/lynx.cfg
@@ -34,8 +34,8 @@ STARTFILE:http://www.OpenBSD.org/
# http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
# This should be changed to the local path.
#
-HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
-#HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
+#HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
+HELPFILE:file://localhost/usr/share/doc/html/lynx_help/lynx_help_main.html
# DEFAULT_INDEX_FILE is the default file retrieved when the
# user presses the 'I' key when viewing any document.