summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-22 13:28:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-22 13:28:03 +0000
commit5d28cf2c95926688a339a7460cc132b4e3fb3476 (patch)
tree3653c17f4b0ca3f54ed17587adb71b944d8a832c /Makefile
parentb967084cefd49d80a701d5c6c4dfde5b516ad20b (diff)
downloadmandoc-5d28cf2c95926688a339a7460cc132b4e3fb3476.tar.gz
mandoc-5d28cf2c95926688a339a7460cc132b4e3fb3476.tar.zst
mandoc-5d28cf2c95926688a339a7460cc132b4e3fb3476.zip
Have the default include/lib install path end with "mandoc" to prevent
clobbering other stuff that may have the same name.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7f619478..4b44f4d0 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
-INCLUDEDIR = $(PREFIX)/include
-LIBDIR = $(PREFIX)/lib
+INCLUDEDIR = $(PREFIX)/include/mandoc
+LIBDIR = $(PREFIX)/lib/mandoc
MANDIR = $(PREFIX)/man
EXAMPLEDIR = $(PREFIX)/share/examples/mandoc
INSTALL = install
@@ -141,7 +141,7 @@ vol.o: vol.in
$(LIBMAN_OBJS): libmdoc.h
$(LIBMDOC_OBJS): libmdoc.h
$(LIBROFF_OBJS): libroff.h
-$(LIBMANDOC_OBJS): mandoc.h libmandoc.h config.h
+$(LIBMANDOC_OBJS): mandoc.h mdoc.h man.h libmandoc.h config.h
MANDOC_HTML_OBJS = html.o \
man_html.o \
@@ -164,7 +164,7 @@ chars.o: chars.in
$(MANDOC_HTML_OBJS): html.h
$(MANDOC_TERM_OBJS): term.h
-$(MANDOC_OBJS): main.h mandoc.h config.h out.h
+$(MANDOC_OBJS): main.h mandoc.h mdoc.h man.h config.h out.h
compat.o: config.h