summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Maydell2019-03-08 14:57:43 +0100
committerPeter Maydell2019-03-11 12:10:44 +0100
commit81f33401ef95e7c6470b24348fc000904b572b3e (patch)
tree2df9b5f023b8b15c0e24521288f4024110e5ea9a /Makefile
parentMakefile: Fix Sphinx documentation builds for in-tree builds (diff)
downloadqemu-81f33401ef95e7c6470b24348fc000904b572b3e.tar.gz
qemu-81f33401ef95e7c6470b24348fc000904b572b3e.tar.xz
qemu-81f33401ef95e7c6470b24348fc000904b572b3e.zip
Makefile: Fix 'make distclean'
We forgot the '-r' option on the rm command to clean up the Sphinx .doctrees working directory, which meant that "make distclean" fails: rm: cannot remove '.doctrees': Is a directory Add the missing option. Fixes: 5f71eac06e15b9a3fa1134d446f ("Makefile, configure: Support building rST documentation") Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190308135744.6480-3-peter.maydell@linaro.org
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0194ef7fa5..9fd7f3f9bf 100644
--- a/Makefile
+++ b/Makefile
@@ -691,7 +691,7 @@ distclean: clean
rm -f docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html
rm -f docs/qemu-block-drivers.7
rm -f docs/qemu-cpu-models.7
- rm -f .doctrees
+ rm -rf .doctrees
$(call clean-manual,devel)
$(call clean-manual,interop)
for d in $(TARGET_DIRS); do \