summaryrefslogtreecommitdiffstats
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
commit70f203bc9470ff72f506c85c547dc37b6ee92801 (patch)
tree01a564eca3faaec544d50552c6af23b5ff6b9996
parent95139f9e9adf4cab180cc5b4906de26296dcd698 (diff)
downloadmandoc-70f203bc9470ff72f506c85c547dc37b6ee92801.tar.gz
Have the default include/lib install path end with "mandoc" to prevent
clobbering other stuff that may have the same name.
-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