]> mj.ucw.cz Git - moe.git/blobdiff - Makefile
Doc: Dust off anatomy.html
[moe.git] / Makefile
index 6e52c470bfd9568e0e62197162539970d23bc931..86f91d8638841bc6541e6f50df461c8a21932ece 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 VERSION=2.0
 
 # The default target
-all: runtree programs datafiles configs
+all:: runtree programs datafiles configs
 
 # Include configuration
 s=.
@@ -12,6 +12,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