diff options
author | 2009-10-26 17:26:41 +0000 | |
---|---|---|
committer | 2009-10-26 17:26:41 +0000 | |
commit | f84c375d0d7f84a74993550927f2209b10a48f51 (patch) | |
tree | f4cc43f149300a9180fd2d557710c8716f50a5c9 /sys-devel/clang/files | |
parent | Fixing dupe Changelog entry (diff) | |
download | gentoo-2-f84c375d0d7f84a74993550927f2209b10a48f51.tar.gz gentoo-2-f84c375d0d7f84a74993550927f2209b10a48f51.tar.bz2 gentoo-2-f84c375d0d7f84a74993550927f2209b10a48f51.zip |
Fix documentation Makefile in the same way as llvm
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/clang/files')
-rw-r--r-- | sys-devel/clang/files/clang-2.6-fixdoc.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-devel/clang/files/clang-2.6-fixdoc.patch b/sys-devel/clang/files/clang-2.6-fixdoc.patch new file mode 100644 index 000000000000..d0d392c87ac1 --- /dev/null +++ b/sys-devel/clang/files/clang-2.6-fixdoc.patch @@ -0,0 +1,53 @@ +diff -Naur llvm-2.6.orig/tools/clang/docs/Makefile llvm-2.6/tools/clang/docs/Makefile +--- llvm-2.6.orig/tools/clang/docs/Makefile 2009-10-26 18:09:24.000000000 +0100 ++++ llvm-2.6/tools/clang/docs/Makefile 2009-10-26 18:17:29.000000000 +0100 +@@ -46,13 +46,12 @@ + # 'make generated BUILD_FOR_WEBSITE=1' + generated:: doxygen + +-install-html: $(PROJ_OBJ_DIR)/html.tar.gz ++install-html: + $(Echo) Installing HTML documentation + $(Verb) $(MKDIR) $(PROJ_docsdir)/html + $(Verb) $(MKDIR) $(PROJ_docsdir)/html/img + $(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html + # $(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir) + + $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML) + $(Echo) Packaging HTML documentation +@@ -64,12 +63,11 @@ + install-doxygen: doxygen + $(Echo) Installing doxygen documentation + $(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir) + $(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \ + $(FIND) . -type f -exec \ + $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \; + +-doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz ++doxygen: regendoc + + regendoc: + $(Echo) Building doxygen documentation +diff -Naur llvm-2.6.orig/tools/clang/docs/tools/Makefile llvm-2.6/tools/clang/docs/tools/Makefile +--- llvm-2.6.orig/tools/clang/docs/tools/Makefile 2009-10-26 18:09:24.000000000 +0100 ++++ llvm-2.6/tools/clang/docs/tools/Makefile 2009-10-26 18:16:06.000000000 +0100 +@@ -23,7 +23,7 @@ + DST_PS_DIR=ps/ + + # If we are in BUILD_FOR_WEBSITE mode, default to the all target. +-all:: html man ps ++all:: html man + + clean: + rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS) +@@ -55,7 +55,7 @@ + ifdef ONLY_MAN_DOCS + INSTALL_TARGETS := install-man + else +-INSTALL_TARGETS := install-html install-man install-ps ++INSTALL_TARGETS := install-html install-man + endif + + .SUFFIXES: |