diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-27 06:06:15 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-27 06:06:15 +0000 |
commit | 0b57a76bc8c16ebc2dbb409c1be6bd31e068c9fc (patch) | |
tree | 060ca7bac90b774404ac7680bd23e628e020b5dd /docs/Makefile | |
parent | af4af3ae5972cf477cef0b48c992710fbd289609 (diff) |
For PR1276:
Allow doxygen documentation to be rebuilt manually with "make regendoc"
separately from "make install".
Patch by Scott Michel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile index 817b7da6d9..ad58a10ca0 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -67,14 +67,16 @@ install-doxygen: doxygen $(FIND) . -type f -exec \ $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \; -doxygen: $(PROJ_OBJ_DIR)/doxygen.tar.gz +doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz -$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg +regendoc: $(Echo) Building doxygen documentation $(Verb) if test -e $(PROJ_OBJ_DIR)/doxygen ; then \ $(RM) -rf $(PROJ_OBJ_DIR)/doxygen ; \ fi $(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg + +$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg $(Echo) Packaging doxygen documentation $(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/doxygen.tar $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen |