summaryrefslogtreecommitdiff
path: root/tools/Rules.in
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-05 17:15:56 +0000
committerMartin Mares <mj@ucw.cz>2000-05-05 17:15:56 +0000
commitb177724896b75159dbc8e203ac0e5a134229ae90 (patch)
tree4ff62df2354b09aad3fea8e420c6b8d35e0dc70f /tools/Rules.in
parentc7d7794bb9a71be58d06c6c9ea67943d3e33a566 (diff)
Connected the `doc' subtree to global makefiles.
All documentation is built in obj/doc (resp. doc/ if you do a stand-alone build). Use `make docs' to make the whole documentation or `make userdocs' resp. `make progdocs' for user manual resp. developer's guide.
Diffstat (limited to 'tools/Rules.in')
-rw-r--r--tools/Rules.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Rules.in b/tools/Rules.in
index a10f76fd..6e786266 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -1,7 +1,8 @@
# Makefile fragments for the BIRD Internet Routing Daemon
-# (c) 1999 Martin Mares <mj@ucw.cz>
+# (c) 1999--2000 Martin Mares <mj@ucw.cz>
srcdir=@srcdir_rel_mf@
+srcdir_abs := $(shell cd $(srcdir) ; pwd)
objdir=@objdir@
exedir=@exedir@
@@ -12,8 +13,10 @@ dynamic-dirs := lib conf
dynamic-dir-paths := $(dynamic-dirs)
client-dirs := @CLIENT@
client-dir-paths := $(client-dirs)
+doc-dirs := doc
+doc-dir-paths := $(doc-dirs)
-all-dirs:=$(static-dirs) $(dynamic-dirs) $(client-dirs)
+all-dirs:=$(static-dirs) $(dynamic-dirs) $(client-dirs) $(doc-dirs)
clean-dirs:=$(all-dirs) proto sysdep
CPPFLAGS=-I$(root-rel) -I$(srcdir) @CPPFLAGS@