aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-26 02:37:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-26 02:37:28 +0100
commit513a3239198d3e4ec26799046f75206a4d9c599c (patch)
tree2137a9f559d6ddc30a02d9ef1cfa23a34768e521 /doc
parent689a6e0b8f91eecfc3add9dae769bfcda5a35b77 (diff)
Build docs by default in .bzr checkouts
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e3dde912..9b473df3 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,5 +1,9 @@
-include ../Makefile.settings
+all:
+ # Only build the docs if this is a bzr checkout
+ test ! -d ../.bzr || $(MAKE) -C user-guide
+
install:
mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/
install -m 0644 bitlbee.8 $(DESTDIR)$(MANDIR)/man8/