summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-10-15 08:33:43 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-10-15 08:33:43 +0000
commitdd1dad988a0e5c8a0902260c1c92f56c44728d60 (patch)
tree31fe098394175c40c13b7ef2e36c007f26d799d8 /docs/Makefile
parentd982752501eb34f5bc3d44772e6a258bbba96b1f (diff)
downloadclang-dd1dad988a0e5c8a0902260c1c92f56c44728d60.tar.gz
clang-dd1dad988a0e5c8a0902260c1c92f56c44728d60.tar.bz2
clang-dd1dad988a0e5c8a0902260c1c92f56c44728d60.tar.xz
docs: Remove incompatibility with Solaris shell
There doesn't seem to be a need in checking if a directory exists if we will just rm -rf it once we affirm that it does. Instead, just blindly try to delete it. This fixes PR17541. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 5e14fac0a9..406d3e458b 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -78,9 +78,7 @@ doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
regendoc:
$(Echo) Building doxygen documentation
- $(Verb) if test -e $(PROJ_OBJ_DIR)/doxygen ; then \
- $(RM) -rf $(PROJ_OBJ_DIR)/doxygen ; \
- fi
+ $(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/doxygen
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg