source: rtems/scripts/rtemsdoc/Makefile.am @ 2dae735f

4.104.114.84.95
Last change on this file since 2dae735f was 2dae735f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 26, 2003 at 8:13:55 AM

2003-01-26 Ralf Corsepius <corsepiu@…>

  • rtemsdoc/Makefile.am: New.
  • rtemsdoc/mkspec.in: New.
  • rtemsdoc/rtemsdoc.spec.in: New.
  • rtemsdoc/supplement.add.in: New.
  • rtemsdoc/templ.add.in: New.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5CLEANFILES =
6
7MKSPEC = $(SHELL) ./mkspec
8
9MKSPEC_DEPS = mkspec rtemsdoc.spec.in \
10    $(top_builddir)/setup.cache
11
12SUPPLEMENTS = \
13  arm \
14  c4x \
15  hppa1_1 \
16  i386 \
17  i960 \
18  m68k \
19  mips \
20  mips64orion \
21  powerpc \
22  sh \
23  sparc
24
25DOCS =  ada_user posix1003_1 bsp_howto
26DOCS += c_user
27DOCS += develenv
28DOCS += FAQ filesystem itron
29DOCS += networking porting new_chapters
30DOCS += relnotes rgdb_specs rtems_gdb
31DOCS += started started_ada
32
33SUBPACKAGES = $(DOCS:%=%-docs.add)
34CLEANFILES  += $(DOCS:%=%-docs.add)
35SUBPACKAGES += $(SUPPLEMENTS:%=%-supplement.add)
36CLEANFILES  += $(SUPPLEMENTS:%=%-supplement.add)
37
38SUFFIXES = -supplement.add -docs.add
39
40%-supplement.add: supplement.add.in
41        t=`echo $@ | sed -e 's,-supplement.add,,'`; \
42        sed -e s/@target\@/$$t/g < $< >$@
43
44%-docs.add: templ.add.in
45        t=`echo $@ | sed -e 's,-docs.add,,'`; \
46        sed -e s/@target\@/$$t/g < $< >$@
47
48rtemsdoc.spec: $(MKSPEC_DEPS) $(SUBPACKAGES)
49        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . > $@
50        cat $(SUBPACKAGES) >> $@
51
52RPM_SPECS_DATA = rtemsdoc.spec
53
54TEMPLATES = rtemsdoc.spec.in
55
56noinst_DATA = $(TEMPLATES)
57
58EXTRA_DIST = $(TEMPLATES)
59
60CLEANFILES += $(RPM_SPECS_DATA)
61
62include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.