diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 01:07:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 01:07:42 +0000 |
commit | fad444e70150058e0b8fe5ee48363a3f45fd8ba4 (patch) | |
tree | 81b18b7cee365adcc225a8aa2041141c0a0ba48f | |
parent | ecea007ac9d1438582e3b8c69ecdb7b7bef77003 (diff) | |
download | mandoc-fad444e70150058e0b8fe5ee48363a3f45fd8ba4.tar.gz mandoc-fad444e70150058e0b8fe5ee48363a3f45fd8ba4.tar.zst mandoc-fad444e70150058e0b8fe5ee48363a3f45fd8ba4.zip |
sort user settings; no functional change
-rw-r--r-- | Makefile | 32 |
1 files changed, 20 insertions, 12 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.395.2.20 2014/08/05 00:42:53 schwarze Exp $ +# $Id: Makefile,v 1.395.2.21 2014/08/05 01:07:42 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> # Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -19,6 +19,8 @@ VERSION = 1.12.4 # === USER SETTINGS ==================================================== +# --- user settings relevant for all builds ---------------------------- + # Specify this if you want to hard-code the operating system to appear # in the lower-left hand corner of -mdoc manuals. # @@ -32,22 +34,15 @@ VERSION = 1.12.4 # CFLAGS += -DUSE_WCHAR -# If your system has manpath(1), uncomment this. This is most any -# system that's not OpenBSD or NetBSD. If uncommented, apropos(1), -# and mandocdb(8) will popen(3) manpath(1) to get the MANPATH -# variable. -#CFLAGS += -DUSE_MANPATH - CFLAGS += -g -DHAVE_CONFIG_H CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local -WWWPREFIX = /var/www -HTDOCDIR = $(WWWPREFIX)/htdocs BINDIR = $(PREFIX)/bin INCLUDEDIR = $(PREFIX)/include/mandoc LIBDIR = $(PREFIX)/lib/mandoc MANDIR = $(PREFIX)/man EXAMPLEDIR = $(PREFIX)/share/examples/mandoc + INSTALL = install INSTALL_PROGRAM = $(INSTALL) -m 0755 INSTALL_DATA = $(INSTALL) -m 0444 @@ -55,13 +50,26 @@ INSTALL_LIB = $(INSTALL) -m 0644 INSTALL_SOURCE = $(INSTALL) -m 0644 INSTALL_MAN = $(INSTALL_DATA) +# --- user settings related to database support ------------------------ + +# If you want to build without database support, for example to avoid +# the dependency on Berkeley DB, comment the following line. +# +DBBIN = apropos mandocdb whatis + # Non-BSD systems (Linux, etc.) need -ldb to compile mandocdb and # apropos. -# However, if you don't have -ldb at all (or it's not native), then -# comment out apropos and mandocdb. # #DBLIB = -ldb -DBBIN = apropos mandocdb whatis + +# If your system has manpath(1), uncomment this. This is most any +# system that's not OpenBSD or NetBSD. If uncommented, apropos(1) +# and mandocdb(8) will use manpath(1) to get the MANPATH variable. +# +#CFLAGS += -DUSE_MANPATH + +WWWPREFIX = /var/www +HTDOCDIR = $(WWWPREFIX)/htdocs # === END OF USER SETTINGS ============================================= |