From 5a069f5a7e5976fe65e331de908234d08f916be8 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 11 Jan 2005 06:26:27 +0000 Subject: [PATCH] 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 --- docs/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index d51d3570e34..11293d0ebd8 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -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 -- 2.34.1