mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
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: 192679
This commit is contained in:
parent
54f125fb4b
commit
e0726b1a2f
@ -82,9 +82,7 @@ doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
|
|||||||
|
|
||||||
regendoc:
|
regendoc:
|
||||||
$(Echo) Building doxygen documentation
|
$(Echo) Building doxygen documentation
|
||||||
$(Verb) if test -e $(PROJ_OBJ_DIR)/doxygen ; then \
|
$(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/doxygen
|
||||||
$(RM) -rf $(PROJ_OBJ_DIR)/doxygen ; \
|
|
||||||
fi
|
|
||||||
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
|
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
|
||||||
|
|
||||||
$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
|
$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
|
||||||
@ -118,9 +116,7 @@ ocamldoc: regen-ocamldoc
|
|||||||
|
|
||||||
regen-ocamldoc:
|
regen-ocamldoc:
|
||||||
$(Echo) Building ocamldoc documentation
|
$(Echo) Building ocamldoc documentation
|
||||||
$(Verb) if test -e $(PROJ_OBJ_DIR)/ocamldoc ; then \
|
$(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc
|
||||||
$(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc ; \
|
|
||||||
fi
|
|
||||||
$(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc
|
$(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc
|
||||||
$(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html
|
$(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html
|
||||||
$(Verb) \
|
$(Verb) \
|
||||||
|
Loading…
Reference in New Issue
Block a user