version 1.421, 2014/07/09 07:30:47 |
version 1.424, 2014/07/13 09:39:32 |
Line 65 INSTALL_MAN = $(INSTALL_DATA) |
|
Line 65 INSTALL_MAN = $(INSTALL_DATA) |
|
# the dependency on SQLite3, comment the following two lines. |
# the dependency on SQLite3, comment the following two lines. |
DBLIB = -L/usr/local/lib -lsqlite3 |
DBLIB = -L/usr/local/lib -lsqlite3 |
DBBIN = makewhatis manpage apropos |
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. |
# OpenBSD has the ohash functions in libutil. |
# Comment the following line if your system doesn't. |
# Comment the following line if your system doesn't. |
DBLIB += -lutil |
DBLIB += -lutil |
Line 134 SRCS = LICENSE \ |
|
Line 137 SRCS = LICENSE \ |
|
makewhatis.8 \ |
makewhatis.8 \ |
man.7 \ |
man.7 \ |
man.c \ |
man.c \ |
man.cgi.7 \ |
man.cgi.8 \ |
man-cgi.css \ |
man-cgi.css \ |
man.h \ |
man.h \ |
man_hash.c \ |
man_hash.c \ |
|
|
roff.o: predefs.in |
roff.o: predefs.in |
st.o: st.in |
st.o: st.in |
vol.o: vol.in |
vol.o: vol.in |
|
cgi.o: cgi.h |
|
|
$(LIBMAN_OBJS): libman.h |
$(LIBMAN_OBJS): libman.h |
$(LIBMDOC_OBJS): libmdoc.h |
$(LIBMDOC_OBJS): libmdoc.h |
Line 317 WWW_MANS = apropos.1.html \ |
|
Line 321 WWW_MANS = apropos.1.html \ |
|
mandoc.db.5.html \ |
mandoc.db.5.html \ |
eqn.7.html \ |
eqn.7.html \ |
man.7.html \ |
man.7.html \ |
man.cgi.7.html \ |
|
mandoc_char.7.html \ |
mandoc_char.7.html \ |
mdoc.7.html \ |
mdoc.7.html \ |
roff.7.html \ |
roff.7.html \ |
tbl.7.html \ |
tbl.7.html \ |
makewhatis.8.html \ |
makewhatis.8.html \ |
|
man.cgi.8.html \ |
man.h.html \ |
man.h.html \ |
mandoc.h.html \ |
mandoc.h.html \ |
mandoc_aux.h.html \ |
mandoc_aux.h.html \ |
|
|
installcgi: all |
installcgi: all |
mkdir -p $(DESTDIR)$(CGIBINDIR) |
mkdir -p $(DESTDIR)$(CGIBINDIR) |
mkdir -p $(DESTDIR)$(HTDOCDIR) |
mkdir -p $(DESTDIR)$(HTDOCDIR) |
|
mkdir -p $(DESTDIR)$(WWWPREFIX)/man/mandoc/man1 |
|
mkdir -p $(DESTDIR)$(WWWPREFIX)/man/mandoc/man8 |
$(INSTALL_PROGRAM) man.cgi $(DESTDIR)$(CGIBINDIR) |
$(INSTALL_PROGRAM) man.cgi $(DESTDIR)$(CGIBINDIR) |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(HTDOCDIR)/man.css |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(HTDOCDIR)/man.css |
$(INSTALL_DATA) man-cgi.css $(DESTDIR)$(HTDOCDIR) |
$(INSTALL_DATA) man-cgi.css $(DESTDIR)$(HTDOCDIR) |
|
$(INSTALL_MAN) apropos.1 $(DESTDIR)$(WWWPREFIX)/man/mandoc/man1/ |
|
$(INSTALL_MAN) man.cgi.8 $(DESTDIR)$(WWWPREFIX)/man/mandoc/man8/ |
|
|
installwww: www |
installwww: www |
mkdir -p $(DESTDIR)$(HTDOCDIR)/snapshots |
mkdir -p $(DESTDIR)$(HTDOCDIR)/snapshots |