summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-12 18:32:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-12 18:32:47 +0000
commitdc4bfc16fa380a3b20f7c13d22ac797e7c540c3a (patch)
treea029fbda5aa1738fde29ed7262c1adda91b10f73 /Makefile
parentaae3ab3e68edab90a23978db94cca91886c1a1f6 (diff)
downloadmandoc-dc4bfc16fa380a3b20f7c13d22ac797e7c540c3a.tar.gz
No need for run-time configuration, add minimal compile-time
configuration facilities, just two paths and two HTML strings. Show the title on all pages, not just the index page.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11e22936..098671bc 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,10 @@ INSTALL_MAN = $(INSTALL_DATA)
# the dependency on SQLite3, comment the following two lines.
DBLIB = -L/usr/local/lib -lsqlite3
DBBIN = makewhatis manpage apropos
-DBBIN += man.cgi
+
+# To build man.cgi, copy cgi.h.example to cgi.h, edit it, and
+# either enable the following line or run "make man.cgi" by hand.
+#DBBIN += man.cgi
# OpenBSD has the ohash functions in libutil.
# Comment the following line if your system doesn't.
@@ -250,6 +253,7 @@ msec.o: msec.in
roff.o: predefs.in
st.o: st.in
vol.o: vol.in
+cgi.o: cgi.h
$(LIBMAN_OBJS): libman.h
$(LIBMDOC_OBJS): libmdoc.h