Make the construction of doxygen documentation a repeatable process

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19469 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2005-01-11 06:26:27 +00:00
parent 31805bf2b6
commit 5a069f5a7e

View File

@ -15,7 +15,8 @@ include $(LEVEL)/Makefile.common
HTML := $(wildcard $(BUILD_SRC_DIR)/*.html) \
$(wildcard $(BUILD_SRC_DIR)/*.css)
IMAGES := $(wildcard $(BUILD_SRC_DIR)/img/*.*)
DOXYFILES := $(wildcard $(BUILD_SRC_DIR)/doxygen.*)
DOXYFILES := doxygen.cfg.in doxygen.css doxygen.footer doxygen.header \
doxygen.intro
EXTRA_DIST := $(HTML) $(DOXYFILES) llvm.css CommandGuide img
.PHONY: install-html install-doxygen doxygen
@ -54,6 +55,9 @@ doxygen: $(BUILD_OBJ_DIR)/doxygen.tar.gz
$(BUILD_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(BUILD_OBJ_DIR)/doxygen.cfg
$(Echo) Building doxygen documentation
$(Verb) if test -e $(BUILD_OBJ_DIR)/doxygen ; then \
$(RM) -rf $(BUILD_OBJ_DIR)/doxygen ; \
fi
$(Verb) $(DOXYGEN) $(BUILD_OBJ_DIR)/doxygen.cfg
$(Echo) Packaging doxygen documentation
$(Verb) $(RM) -rf $@ $(BUILD_OBJ_DIR)/doxygen.tar