aboutsummaryrefslogtreecommitdiffstatshomepage
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
commita797540135ad4c814fac00a6542da5d893786891 (patch)
treee7c4db12f1a710a2f00e58f263cf29f567a2ef35 /Makefile
parentf11c12e77574a937415e1a9fa3fb12eb8a79b565 (diff)
downloadmandoc-a797540135ad4c814fac00a6542da5d893786891.tar.gz
mandoc-a797540135ad4c814fac00a6542da5d893786891.tar.zst
mandoc-a797540135ad4c814fac00a6542da5d893786891.zip
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--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5744b1bf..b61be914 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.422 2014/07/10 00:31:10 schwarze Exp $
+# $Id: Makefile,v 1.423 2014/07/12 18:32:47 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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