forked from OSchip/llvm-project
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. llvm-svn: 192680
This commit is contained in:
parent
5f16063dcd
commit
6fcf92a21d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue