]> mj.ucw.cz Git - moe.git/blobdiff - Makefile
MO-P: mo-cms-users knows how to tie users to machines
[moe.git] / Makefile
index 6e52c470bfd9568e0e62197162539970d23bc931..9adae4062025283cc9dceb10ba71c10dc896d89b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,10 @@
 # (c) 2008--2012 Martin Mares <mj@ucw.cz>
 
 VERSION=2.0
+SHELL=/bin/bash
 
 # The default target
-all: runtree programs datafiles configs
+all:: runtree programs datafiles configs
 
 # Include configuration
 s=.
@@ -12,6 +13,10 @@ s=.
 obj/config.mk:
        @echo "You need to run configure first." && false
 
+ifdef CONFIG_DOC
+all:: docs
+endif
+
 # We will use the libucw build system
 BUILDSYS=$(s)/build
 include $(BUILDSYS)/Maketop