Commit Graph

27 Commits

Author SHA1 Message Date
Joel Sherrill
f3bf823535 doc/project.am: texi2html invocation had file name twice 2013-03-11 15:23:13 -05:00
Joel Sherrill
83b555fd4d doc: Build html into subdirectory (fix make clean)
Building with a document specific prefix will require coding
in both texi2any and texi2html. It is easier to build into
a directory (e.g. $(PROJECT)/). This also fixes "make clean"
which was broken.
2013-02-26 12:53:27 -06:00
Joel Sherrill
e0bf787036 doc/project.am: Make texi2html and texi2any stanzas share 2013-02-26 08:03:58 -06:00
Joel Sherrill
0c59b4bb83 doc: Use More Readable Names for Generated Nodes
Per a discussion with the GNU Texinfo maintainer Patrice Dumas,
change to generating HTML files per a standard for stable URL
names and easier cross manual referencing.

http://lists.gnu.org/archive/html/help-texinfo/2013-02/msg00002.html
2013-02-26 08:03:57 -06:00
Joel Sherrill
94ca0708a2 doc: Support texi2any and texi2html
This was tested with texi2html-1.82-5.1.el6.noarch and
a locally built texinfo 5.0. These are completely different
implementations and require different invocations.

The Makefile dependencies appear to work but are likely not
perfect at this point.  The key point is that the autoconf
probe detects which to use and responds accordingly with
preference given to texi2any.
2013-02-26 08:03:57 -06:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
2571c79e66 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* project.am (MOSTLYCLEANFILES): Remove index.html.
	* ada_user/Makefile.am (CLEANFILES): Fixup image handling.
2011-12-09 15:20:14 +00:00
Joel Sherrill
abdeac2a14 2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1793/doc
	* .cvsignore, Makefile.am, README, configure.ac, index.html.in,
	main.am, project.am, ada_user/.cvsignore, ada_user/ada_user.texi,
	ada_user/example.texi, bsp_howto/.cvsignore,
	bsp_howto/bsp_howto.texi, cpu_supplement/.cvsignore,
	cpu_supplement/cpu_supplement.texi, cpu_supplement/preface.texi,
	develenv/.cvsignore, develenv/develenv.texi, develenv/intro.texi,
	filesystem/.cvsignore, filesystem/filesystem.texi,
	filesystem/preface.texi, networking/.cvsignore,
	networking/networking.texi, networking/preface.texi,
	porting/.cvsignore, porting/porting.texi, porting/preface.texi,
	posix1003.1/.cvsignore, posix1003.1/posix1003_1.texi,
	posix_users/.cvsignore, posix_users/posix_users.texi,
	posix_users/preface.texi, shell/.cvsignore, shell/preface.texi,
	shell/shell.texi, started/.cvsignore, started/started.texi,
	user/.cvsignore, user/c_user.texi, user/dirstat.texi,
	user/example.texi, user/glossary.texi, user/preface.texi: Convert
	from texi2www to texi2html.
	* texi2html_init.in: New file.
	* rtems_footer.html.in, rtems_header.html.in: Removed.
2011-12-06 15:12:48 +00:00
Ralf Corsepius
e630235973 Remove EDITION (Unused) 2010-06-11 07:40:00 +00:00
Ralf Corsepius
805d764d44 2003-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* project.am: Remove $(PROJECT).info* from CLEANFILES (Doesn't work
	with automake-1.7f/1.8 anymore).
2003-11-26 15:30:34 +00:00
Ralf Corsepius
24dd0fb438 2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merger from rtems-4-6-branch.
	* configure.ac: Merger from rtems-4-6-branch.
	Purge hppa1.1.
	* index.html.in: Purge hppa1.1.
	* project.am: Merger from rtems-4-6-branch.
	* rtems_support.html.in: Purge hppa1.1.
2003-09-22 08:59:49 +00:00
Ralf Corsepius
8e7cdc8b10 Merger from rtems-4-6-branch 2003-08-07 05:17:27 +00:00
Ralf Corsepius
58e3ab3dd6 2003-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add c4x.
	* project.am: Add version.texi hack.
2003-01-25 14:58:37 +00:00
Ralf Corsepius
f28a6af24c 2003-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* main.am: Remove AM_MAKEINFOFLAGS, TEXI2DVI, TEXI2PDF.
	Append -I $(top_builddir) to TEXI2WWW_ARGS.
	* project.am: Add AM_MAKEINFOFLAGS, TEXI2DVI, TEXI2PDF.
	Override automake's .dvi.ps:-rule.
2003-01-24 11:16:35 +00:00
Ralf Corsepius
e2a5ab7169 2003-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* project.am, main.am: Use automake rules to build ps, pdf, info.
	Various minor changes.
2003-01-23 00:04:34 +00:00
Ralf Corsepius
8a86d78dec 2003-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* project.am: Append $($(PROJECT)_TEXINFOS) to
	html-dependencies.
2003-01-22 12:26:15 +00:00
Ralf Corsepius
22f5b4c2d4 2002-06-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* project.am: Use PATH_SEPARATOR to setup TEXINPUTS.
2002-06-14 06:52:20 +00:00
Joel Sherrill
fb56a379e4 2002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reworked.
	* Makefile.am: Remove texinfo/texinfo.tex
	* bootstrap: Removed.
	* configure.ac: Add pkgdocdir. Let htmldir be rooted at pkgdocdir.
	* main.am: Remove TEXINFO_TEX.
	* project.am: Let dvidir, psdir, pdfdir be rooted at pkgdocdir.
	Remove commented out make-variables.
2002-01-22 17:38:37 +00:00
Joel Sherrill
aecc1d963c 2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache, install-sh, mdate-sh, missing,
	mkinstalldirs, texinfo.tex.
	* Makefile.am: Add main.am to AUTOMAKE_FILES.
	* configure.ac: Add AC_CONFIG_AUX_DIR([.]).
	* project.am: Remove custom .texi and stamp-vti rules.
	* main.am: Replace TEXI_COMMON with AM_MAKEINFOFLAGS.
2002-01-20 16:57:07 +00:00
Joel Sherrill
21e473b0b0 2002-01-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Require automake-1.5.
	* project.am: Reworked.
	* main.am: New.
	* configure.ac: New.
	* configure.in: Removed.
	* bootstrap: Sync with RTEMS's toplevel bootstrap.sh.
2002-01-18 15:10:54 +00:00
Joel Sherrill
6449498bc7 2001-01-17 Joel Sherrill <joel@OARcorp.com>
* SUPPORT, LICENSE: New files.
	* Numerous files touched as part of merging the 4.5 branch
	onto the mainline development trunk and ensuring that the
	script that cuts snapshots and releases works on the documentation.
2002-01-17 21:47:47 +00:00
Joel Sherrill
1c43eba5cc Patch rtemsdoc-4.5.0-rc-14-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to address build problems
effecting RedHat users but not SuSE users.
2000-06-17 01:13:20 +00:00
Joel Sherrill
e90e428e14 Patch rtemsdoc-4.5.0-rc-13-cvs.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which:

* should fix the building rtemsdoc outside of the sourcetree with
  relative srcdir issue
* adds --enable-papersize=[letter|a4|]
2000-06-14 14:25:49 +00:00
Joel Sherrill
110445cba5 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-06-10 19:41:09 +00:00
Joel Sherrill
fc76a6aa19 Patch rtemsdoc-4.5.0-rc-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Ralf's comments follow:

  Changes:
    * Enhanced versioning:
      - Addition of automake's version.texi support
      - Replacement of rtemsdoc's former versioning support by automake's
        versioning support (Abandoning RTEMS-UPDATE-* etc.)
      - Abandoning setup.texi.in
      - Add EDITION to each documents Makefile.am
      - version.texi support in project.am
      - Addition of maintainer mode (currently only used to prevent incorrectly
        updating timestamps when users touch automake's version.texi timestamp
        files (stamp-vti)).

    * Fixing info dir support
      - Use texinfo's @dircategory and @direntry instead of infos *-DIR-ENTRY
      - $(infodir)/dir is now correctly set up

    * Avoid using temporary files
      - Pipe texts through REPLACE2 into BMENU2 instead of using temporary files.
      - Abandon using bmenu in favor of bmenu2 (bmenu could be removed now)

    * Prepare Makefile.ams for building in a separate buildtree
      - prefix files with $(srcdir) in Makefile.am for files which must be
        generated inside of the source tree

  Notes:
    * rtemsdoc can not yet be build in a separate source-tree, but we
      are very close to it.
    * You as the maintainer of this package now should always use
      --enable-maintainer-mode to configure rtemsdoc.
2000-06-01 15:29:01 +00:00
Joel Sherrill
fdbfff1867 Patches rtemsdoc-4.5.0-rc.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the following:


  The patch below should
      * fix the *pdf cleanup handling
      * fix dependencies between pdf-documents and texi-files

  It also contains an attempt to let networking/schedule.t use states.pdf
  instead of ascii graphics, but though each pdf image looks nice, it
  comes out weirdly distorted in the main pdf document.
2000-04-26 18:05:33 +00:00
Joel Sherrill
2ba8875a0b Patch rtemsdoc-4.5.0-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which contains the bulk of converting the documentation tree to automake
and GNU conventions.  Comments follow:

This is the automake port of rtemsdoc.

To apply:

cvs co rtemsdoc
cd rtemsdoc
sh cvs-rm.sh
patch -p0 < rtemsdoc-4.5.0-rc-0.diff
sh cvs-add.sh

[Attention: cvs-rm.sh and cvs-add.sh directly modify cvs]

Known bugs:
1) src2html is not supported (yet? - Is this supposed to work?)
2) all *.pdf images now are generated on-the-fly, but not yet deleted
during "make distclean"
3) All supplements, including the templated ones, get build and
installed.
4) Building outside of the source tree is completely untested and very
likely does not work.
5) Make [ps|pdf] are not (yet) supported, make [dvi|info] are supported
by automake's default texinfo rules.

Fixing 2, 3 and 5 is almost trivial and needs to be done.
4) is a matter of testing and tool-properties, for now it is simply
untested.



General issues:
* gif vs jpg vs png. I would recommend to replace all images with pngs
  to avoid potential copyright issues (gif) or lack in quality (jpg, jpg
  is good for real world photographs, but extremely poor on artificial
  images, graphs).
* pdf images do net get placed correctly in pdf-documents.
* texinfo: We now use a local copy of texinfo-4.0's texinfo.tex in
  texinfo/texinfo.tex for generating infos. However pdftex's system-wide
  texinfo.tex and pdftexinfo.tex are used for generating *.dvi, *.ps, *.pdf.
* .cvsignore files still missing.
* I have renamed the supplements filename not to use c_<supplement>,
  because automake seems to have problems with it.

Notes:
* Again, I recommend not to put any generated files into CVS. Here, this
  comprises some *texi, all *.pdf and many *.html pages. Ie. I recommend
  to run make maintainer-clean before checking in any files.

* To get building started, this should be sufficient:
  ./bootstrap
  ./configure
  cd tools; make; cd ..
  make info

* To make a public tarball:
  [cvs co ; ./bootstrap]
  ./configure
  cd tools; make; cd ..
  make info
  [make clean]
  make dist
=> This generates a rtems-<version>.tar.gz in the toplevel directory.
=> Building the tools only is required after a "cvs co", but not in a
   distribution tarball.
2000-04-26 18:02:26 +00:00