summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-09-18 20:28:02 +0200
committerMichal Minar <miminar@redhat.com>2013-09-21 09:02:50 +0200
commitc906573e892ddb4b8f602e68ac45b30c46732155 (patch)
treeae311cdcd33b8560f7179127dff3b47fceb3ad15 /doc
parentbdd15a201277fec520946b0e370cebeb29ba8903 (diff)
downloadopenlmi-scripts-c906573e892ddb4b8f602e68ac45b30c46732155.tar.gz
openlmi-scripts-c906573e892ddb4b8f602e68ac45b30c46732155.tar.xz
openlmi-scripts-c906573e892ddb4b8f602e68ac45b30c46732155.zip
doc: clean documentation of subcommands on top-level clean
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 8d3189f..8054789 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -101,6 +101,11 @@ endif
clean:
-rm -rf $(BUILDDIR)/* modules/ api.rst commands.rst commands/
+ifneq ($(INCLUDE_COMMANDS), 0)
+ for cmd in $(COMMANDS); do \
+ make -C $(COMMANDS_PATH)/$${cmd}/doc clean; \
+ done
+endif
%.png: %.dia
dia -e $@ $<