]> mj.ucw.cz Git - libucw.git/commitdiff
Doc system: Allow building in default target
authorMichal Vaner <vorner@ucw.cz>
Fri, 31 Oct 2008 13:57:01 +0000 (14:57 +0100)
committerMichal Vaner <vorner@ucw.cz>
Fri, 31 Oct 2008 13:57:01 +0000 (14:57 +0100)
If CONFIG_DOC is turned on, documentation is build with everything else,
in default target.

free/libs/Makefile

index afd3d6f09391f297d65f1af73c56a4a424caa344..5690e9cd72d05094cab0b35a62ce7ec50ac26acc 100644 (file)
@@ -49,6 +49,11 @@ endif
 
 endif
 
+# Build documentation by default?
+ifdef CONFIG_DOC
+all: docs
+endif
+
 libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
 
 # And finally the default rules of the build system