diff options
author | Michal Minar <miminar@redhat.com> | 2013-09-18 20:28:02 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-09-21 09:02:50 +0200 |
commit | c906573e892ddb4b8f602e68ac45b30c46732155 (patch) | |
tree | ae311cdcd33b8560f7179127dff3b47fceb3ad15 /doc | |
parent | bdd15a201277fec520946b0e370cebeb29ba8903 (diff) | |
download | openlmi-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/Makefile | 5 |
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 $@ $< |