diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-26 02:37:28 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-26 02:37:28 +0100 |
commit | 513a3239198d3e4ec26799046f75206a4d9c599c (patch) | |
tree | 2137a9f559d6ddc30a02d9ef1cfa23a34768e521 | |
parent | 689a6e0b8f91eecfc3add9dae769bfcda5a35b77 (diff) |
Build docs by default in .bzr checkouts
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | doc/Makefile | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,7 @@ subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) CFLAGS += -Wall all: $(OUTFILE) + $(MAKE) -C doc uninstall: uninstall-bin uninstall-doc @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n' 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/ |