Changeset 110445c in rtems for doc/Makefile.am


Ignore:
Timestamp:
Jun 10, 2000, 7:41:09 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0ab65474
Parents:
6810959
Message:

Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@…>
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    r6810959 r110445c  
    77# NOTE: The order of the directories is essential.
    88#       + tools, common and images are shared across many documents
    9 SUBDIRS = \
    10 tools \
    11 common \
    12 images \
    13 FAQ \
    14 started \
    15 user \
    16 bsp_howto \
    17 porting \
    18 develenv \
    19 posix_users \
    20 posix1003.1 \
    21 filesystem \
    22 itron3.0 \
    23 networking \
    24 ada_user \
    25 started_ada \
    26 rtems_gdb \
    27 rgdb_specs \
    28 new_chapters \
    29 relnotes \
    30 supplements \
    31 gnu_docs \
    32 src2html
     9
     10SUBDIRS = tools common images FAQ started user bsp_howto porting develenv \
     11    posix_users posix1003.1 filesystem itron3.0 networking ada_user \
     12    started_ada rtems_gdb rgdb_specs new_chapters relnotes supplements \
     13    gnu_docs src2html
    3314
    3415if USE_HTML
    35 html_DATA = index.html HELP.html BAD.html
     16html_DATA = index.html HELP.html
    3617endif
    3718
     
    4021noinst_SCRIPTS = bootstrap
    4122
    42 EXTRA_DIST = \
    43 $(AUTOMAKE_FILES) \
    44 HELP.html BAD.html \
    45 texinfo/texinfo.tex \
    46 $(noinst_SCRIPTS)
     23EXTRA_DIST = $(AUTOMAKE_FILES) HELP.html texinfo/texinfo.tex \
     24    $(noinst_SCRIPTS) rtems_header.html.in rtems_footer.html.in
     25
Note: See TracChangeset for help on using the changeset viewer.