source: rtems/doc/new_chapters/Makefile.am @ d09ad1f0

4.104.114.84.95
Last change on this file since d09ad1f0 was 110445c, checked in by Joel Sherrill <joel.sherrill@…>, on 06/10/00 at 19:41:09

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

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1999.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9AUTOMAKE_OPTIONS = foreign 1.4
10
11PROJECT = new_chapters
12EDITION = 1
13
14include $(top_srcdir)/project.am
15
16GENERATED_FILES = adminiface.texi confspace.texi dumpcontrol.texi \
17    eventlog.texi stackchk.texi rtmonuse.texi cpuuse.texi error.texi \
18    monitor.texi
19
20COMMON_FILES = $(top_srcdir)/common/setup.texi \
21    $(top_srcdir)/common/cpright.texi
22
23FILES =
24
25info_TEXINFOS = new_chapters.texi
26new_chapters_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
27
28$(srcdir)/eventlog.texi: eventlog.t
29         $(BMENU2) -p "" \
30            -u "Top" \
31            -n "" < $< > $@
32
33$(srcdir)/dumpcontrol.texi: dumpcontrol.t
34         $(BMENU2) -p "" \
35            -u "Top" \
36            -n "" < $< > $@
37
38$(srcdir)/confspace.texi: confspace.t
39         $(BMENU2) -p "" \
40            -u "Top" \
41            -n "" < $< > $@
42
43$(srcdir)/adminiface.texi: adminiface.t
44         $(BMENU2) -p "" \
45            -u "Top" \
46            -n "" < $< > $@
47
48$(srcdir)/stackchk.texi: stackchk.t
49        $(BMENU2) -p "" \
50            -u "Top" \
51            -n "" < $< > $@
52
53$(srcdir)/rtmonuse.texi: rtmonuse.t
54        $(BMENU2) -p "" \
55            -u "Top" \
56            -n "" < $< > $@
57
58$(srcdir)/cpuuse.texi: cpuuse.t
59        $(BMENU2) -p "" \
60            -u "Top" \
61            -n "" < $< > $@
62
63$(srcdir)/error.texi: error.t
64        $(BMENU2) -p "" \
65            -u "Top" \
66            -n "" < $< > $@
67
68$(srcdir)/monitor.texi: monitor.t
69        $(BMENU2) -p "" \
70            -u "Top" \
71            -n "" < $< > $@
72
73noinst_SCRIPTS = gen_section
74
75EXTRA_DIST = adminiface.t base.t confspace.t cpuuse.t dumpcontrol.t error.t \
76    eventlog.t monitor.t rtmonuse.t stackchk.t STATUS TODO $(noinst_SCRIPTS)
Note: See TracBrowser for help on using the repository browser.