Commit Graph

27 Commits

Author SHA1 Message Date
mike-m f375e9a092 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m e08af303a6 Overhauled llvm/clang docs builds. Closes PR6613.
NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.

llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Erick Tryzelaar 444c0955af Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.
We need this so can not bake DESTDIR into the O'Caml symlinks.

llvm-svn: 97743
2010-03-04 20:56:19 +00:00
Bob Wilson cc70e3b60d Rearrange rules to add missing dependency and allow parallel makes.
llvm-svn: 91352
2009-12-14 22:44:22 +00:00
Gordon Henriksen 765457e28f Add a unified 'generated documentation' target so the web site script has a consistent target to use.
llvm-svn: 48985
2008-03-31 17:27:57 +00:00
Erick Tryzelaar dd0ace574b Tweak build system to allow for installing the tutorial and uninstalling the docs.
llvm-svn: 48968
2008-03-30 20:32:18 +00:00
Gordon Henriksen 4486f8b5bb Adding ocamldoc generation.
Patch by Erick Tryzelaar.

llvm-svn: 48147
2008-03-10 15:49:16 +00:00
Chris Lattner 9422fb70fe Always for PACKAGEVERSION to 'mainline' for teh llvm web page.
llvm-svn: 46425
2008-01-27 23:43:26 +00:00
Chris Lattner 11cc8b3c14 remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
Reid Spencer c7f87f202e Subversionify the documentation.
llvm-svn: 38442
2007-07-09 08:04:31 +00:00
Reid Spencer 98f56b50d1 Get the version number right, finally.
llvm-svn: 37905
2007-07-05 10:00:19 +00:00
Tanya Lattner 11f9d1b7ee We really should not have this version number in SO many makefiles. This should also probably change to svn instead of cvs, but leaving it for now.
llvm-svn: 37855
2007-07-03 18:11:20 +00:00
Tanya Lattner b453c429af Fixing doxygen.cfg target. I'm not a makefile expert, so hopefully this correct.Tested doxygen generation on zion.
llvm-svn: 35390
2007-03-27 23:19:39 +00:00
Reid Spencer 5cde01f616 For PR1276:
Allow doxygen documentation to be rebuilt manually with "make regendoc"
separately from "make install".

Patch by Scott Michel.

llvm-svn: 35378
2007-03-27 06:06:15 +00:00
Reid Spencer ed2ce58244 Get the version number for the LLVM from the autoconf/configure.ac file
when building the documentation for the web site.

llvm-svn: 34894
2007-03-04 00:45:50 +00:00
Chris Lattner d1c930c801 The web site uses this
llvm-svn: 29006
2006-07-06 00:36:52 +00:00
Chris Lattner 0f6342f669 copy the doxygen tarball into the HTML directory after building it
llvm-svn: 24529
2005-11-30 06:31:28 +00:00
Reid Spencer 84f479aa7f Adjust the dependencies and generate the output to docs/userloc.html so
that it can properly link to the CSS stylesheet and images.

llvm-svn: 22092
2005-05-16 18:29:13 +00:00
Reid Spencer 5c2e03d65b Add the ability to generate the User LOC page via the userloc.pl script.
llvm-svn: 22090
2005-05-16 18:12:58 +00:00
Reid Spencer e6684c8c82 For PR528:
Use the DataInstall and MKDIR macros instead of using $(INSTALL) directly

llvm-svn: 20318
2005-02-24 21:28:08 +00:00
Reid Spencer 0e48bf8a19 Rename BUILD_* to PROJ_*
llvm-svn: 19592
2005-01-16 02:21:29 +00:00
Reid Spencer 4596db3509 Make the construction of doxygen documentation a repeatable process
llvm-svn: 19469
2005-01-11 06:26:27 +00:00
Reid Spencer 1c2aaab680 * Make this makefile compliant with LLVM makefile standards
* Implement optional doxygen doc generation
* Implement HTML and doxygen installation

llvm-svn: 18324
2004-11-29 04:47:35 +00:00
John Criswell 23e43fb12b Added LLVM copyright notice.
llvm-svn: 9319
2003-10-21 14:33:46 +00:00
Chris Lattner c293224214 Don't hardcode path to doxygen
llvm-svn: 3948
2002-09-26 16:38:42 +00:00
Chris Lattner c2fbfc7759 Add rule to build tar.gz file.
llvm-svn: 1592
2002-01-30 21:20:23 +00:00
Chris Lattner 6694264257 Checkin support for building doxygen stuff
llvm-svn: 1586
2002-01-26 21:16:41 +00:00