summaryrefslogtreecommitdiff
path: root/buildlib/defaults.mak
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/defaults.mak')
-rw-r--r--buildlib/defaults.mak12
1 files changed, 9 insertions, 3 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index b268c4b9b..50f27de5a 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -37,9 +37,12 @@ BIN := $(BUILD)/bin
LIB := $(BIN)
OBJ := $(BUILD)/obj
DEP := $(OBJ)
+DOC := $(BUILD)/doc
# Module types
-LIBRARY_H=$(BASE)/buildlib/library.mak
+LIBRARY_H = $(BASE)/buildlib/library.mak
+DEBIANDOC_H = $(BASE)/buildlib/debiandoc.mak
+MANPAGE_H = $(BASE)/buildlib/manpage.mak
# Source location control
# SUBDIRS specifies sub components of the module that
@@ -61,12 +64,15 @@ CXXFLAGS+= -Wall -g -fno-implicit-templates -fno-exceptions
PICFLAGS+= -fPIC -DPIC
LFLAGS+=
INLINEDEPFLAG = -MD
+DEBIANDOC_HTML = yes
+DEBIANDOC_TEXT = yes
# Phony rules. Other things hook these by appending to the dependency
# list
-.PHONY: headers library clean veryclean all binary program
-all: binary
+.PHONY: headers library clean veryclean all binary program doc
+all: binary doc
binary: library program
+maintainer-clean dist-clean: veryclean
headers library clean veryclean program:
# Header file control. We want all published interface headers to go