source: rtems/doc/user/Makefile.am @ fc76a6aa

4.104.114.84.95
Last change on this file since fc76a6aa was fc76a6aa, checked in by Joel Sherrill <joel.sherrill@…>, on 06/01/00 at 15:29:01

Patch rtemsdoc-4.5.0-rc-8.diff from Ralf Corsepius <corsepiu@…>.
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.
  • Property mode set to 100644
File size: 4.7 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 = c_user
12EDITION = 1
13
14include $(top_srcdir)/project.am
15
16FILES = bsp.texi dirstat.texi example.texi glossary.texi preface.texi
17
18GENERATED_FILES = overview.texi concepts.texi datatypes.texi init.texi \
19    task.texi intr.texi clock.texi timer.texi sem.texi msg.texi event.texi \
20    signal.texi part.texi region.texi dpmem.texi io.texi fatal.texi \
21    schedule.texi rtmon.texi bsp.texi userext.texi conf.texi mp.texi
22
23COMMON_FILES = $(top_srcdir)/common/setup.texi $(top_srcdir)/common/cpright.texi
24
25info_TEXINFOS = c_user.texi
26c_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
27
28PNG_FILES = rtemsarc.png rtemspie.png states.png
29
30EPS_IMAGES = rtemspie.eps states.eps
31$(PROJECT).dvi: $(EPS_IMAGES)
32
33PDF_IMAGES = rtemspie.pdf states.pdf
34CLEANFILES += $(PDF_IMAGES)
35
36if USE_HTML
37html_project_DATA += $(PNG_FILES)
38endif
39
40$(srcdir)/overview.texi: overview.t
41        $(BMENU2) -p "Preface" \
42            -u "Top" \
43            -n "Key Concepts" < $< > $@
44
45$(srcdir)/concepts.texi: concepts.t
46        $(BMENU2) -p "Overview Manual Organization" \
47            -u "Top" \
48            -n "RTEMS Data Types" < $< > $@
49
50$(srcdir)/datatypes.texi: datatypes.t
51        $(BMENU2) -p "Key Concepts Memory Management" \
52            -u "Top" \
53            -n "Initialization Manager" < $< > $@
54
55$(srcdir)/init.texi: init.t
56        $(BMENU2) -p "RTEMS Data Types List of Data Types" \
57            -u "Top" \
58            -n "Task Manager" < $< > $@
59
60$(srcdir)/task.texi: task.t
61        $(BMENU2) -p "Initialization Manager SHUTDOWN_EXECUTIVE - Shutdown RTEMS" \
62            -u "Top" \
63            -n "Interrupt Manager" < $< > $@
64
65$(srcdir)/intr.texi: intr.t
66        $(BMENU2) -p "Task Manager TASK_VARIABLE_DELETE - Remove per task variable" \
67            -u "Top" \
68            -n "Clock Manager" < $< > $@
69
70$(srcdir)/clock.texi: clock.t
71        $(BMENU2) \
72         -p "Interrupt Manager INTERRUPT_IS_IN_PROGRESS - Is an ISR in Progress" \
73            -u "Top" \
74            -n "Timer Manager" < $< > $@
75
76$(srcdir)/timer.texi: timer.t
77        $(BMENU2) -p "Clock Manager CLOCK_TICK - Announce a clock tick" \
78            -u "Top" \
79            -n "Semaphore Manager" < $< > $@
80
81$(srcdir)/sem.texi: sem.t
82        $(BMENU2) -p "Timer Manager TIMER_RESET - Reset an interval timer" \
83            -u "Top" \
84            -n "Message Manager" < $< > $@
85
86$(srcdir)/msg.texi: msg.t
87        $(BMENU2) -p "Semaphore Manager SEMAPHORE_FLUSH - Unblock all tasks waiting on a semaphore" \
88            -u "Top" \
89            -n "Event Manager" < $< > $@
90
91$(srcdir)/event.texi: event.t
92        $(BMENU2) \
93        -p "Message Manager MESSAGE_QUEUE_FLUSH - Flush all messages on a queue" \
94            -u "Top" \
95            -n "Signal Manager" < $< > $@
96
97$(srcdir)/signal.texi: signal.t
98        $(BMENU2) -p "Event Manager EVENT_RECEIVE - Receive event condition" \
99            -u "Top" \
100            -n "Partition Manager" < $< > $@
101
102$(srcdir)/part.texi: part.t
103        $(BMENU2) -p "Signal Manager SIGNAL_SEND - Send signal set to a task" \
104            -u "Top" \
105            -n "Region Manager" < $< > $@
106
107$(srcdir)/region.texi: region.t
108        $(BMENU2) \
109-p "Partition Manager PARTITION_RETURN_BUFFER - Return buffer to a partition" \
110            -u "Top" \
111            -n "Dual-Ported Memory Manager" < $< > $@
112
113$(srcdir)/dpmem.texi: dpmem.t
114        $(BMENU2) \
115          -p "Region Manager REGION_GET_SEGMENT_SIZE - Obtain size of a segment" \
116            -u "Top" \
117            -n "I/O Manager" < $< > $@
118
119$(srcdir)/io.texi: io.t
120        $(BMENU2) -p "Dual-Ported Memory Manager PORT_INTERNAL_TO_EXTERNAL - Convert internal to external address" \
121            -u "Top" \
122            -n "Fatal Error Manager" < $< > $@
123
124$(srcdir)/fatal.texi: fatal.t
125        $(BMENU2) -p "I/O Manager IO_CONTROL - Special device services" \
126            -u "Top" \
127            -n "Scheduling Concepts" < $< > $@
128
129$(srcdir)/schedule.texi: schedule.t
130        $(BMENU2) \
131-p "Fatal Error Manager FATAL_ERROR_OCCURRED - Invoke the fatal error handler" \
132            -u "Top" \
133            -n "Rate Monotonic Manager" < $< > $@
134
135$(srcdir)/rtmon.texi: rtmon.t
136        $(BMENU2) -p "Scheduling Concepts Task State Transitions" \
137            -u "Top" \
138            -n "Board Support Packages" < $< > $@
139
140$(srcdir)/bsp.texi: bsp.t
141        $(BMENU2) -p "Rate Monotonic Manager RATE_MONOTONIC_GET_STATUS - Obtain status information on period" \
142            -u "Top" \
143            -n "User Extensions Manager" < $< > $@
144
145$(srcdir)/userext.texi: userext.t
146        $(BMENU2) -p "Board Support Packages Heterogeneous Systems" \
147            -u "Top" \
148            -n "Configuring a System" < $< > $@
149
150$(srcdir)/conf.texi: conf.t
151        $(BMENU2) -p "User Extensions Manager EXTENSION_DELETE - Delete a extension set" \
152            -u "Top" \
153            -n "Multiprocessing Manager" < $< > $@
154
155$(srcdir)/mp.texi: mp.t
156        $(BMENU2) -p "Configuring a System Sizing the RTEMS RAM Workspace" \
157            -u "Top" \
158            -n "Directive Status Codes" < $< > $@
159
160noinst_DATA = states.gif rtemspie.gif
161
162EXTRA_DIST = *.t $(PNG_FILES) $(EPS_IMAGES) $(noinst_DATA)
Note: See TracBrowser for help on using the repository browser.