forked from Imagelibrary/rtems
* configure.ac: Remove rtemsdoc/mkspec. Add RTEMS_RPM_RELEASE.
* rtemsdoc/.cvsignore: Reformat.
* Makefile.am: Reformat. Add RTEMS_RPM_RELEASE support to
rtems-source.add, Use rtems_source_spec_DEPS instead of
rtems_source_spec_DEPENDENCIES (Conflicts with automake internals).
* rtems/rtems-source.add: Add RTEMS_RPM_RELEASE.
* rtemsdoc/mkspec.in: Remove.
* rtemsdoc/Makefile.am: Reworked.
* rtemsdoc/header.add: Update Copyright notice.
* rtemsdoc/rtemsdoc.add: Add RTEMS_RPM_RELEASE.
Add %{rpmgroup}. Remove bzip-ing *.ps.
* rtemsdoc/supplement.add.in: Add %{rpmgroup}.
* rtemsdoc/templ.add.in: Add %{rpmgroup}.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
include ${top_srcdir}/common/common.am
|
|
|
|
CLEANFILES =
|
|
|
|
SUPPLEMENTS = arm c4x i386 i960 m68k mips powerpc sh sparc
|
|
|
|
DOCS = ada_user posix1003_1 bsp_howto
|
|
DOCS += c_user posix_users
|
|
DOCS += develenv
|
|
DOCS += FAQ filesystem itron
|
|
DOCS += networking porting new_chapters
|
|
DOCS += relnotes rgdb_specs rtems_gdb
|
|
DOCS += started started_ada
|
|
|
|
SUBPACKAGES = header.add
|
|
SUBPACKAGES += ../common/common.add
|
|
SUBPACKAGES += rtemsdoc.add
|
|
SUBPACKAGES += ../common/clean.add
|
|
SUBPACKAGES += $(DOCS:%=%-docs.add)
|
|
CLEANFILES += $(DOCS:%=%-docs.add)
|
|
SUBPACKAGES += $(SUPPLEMENTS:%=%-supplement.add)
|
|
CLEANFILES += $(SUPPLEMENTS:%=%-supplement.add)
|
|
|
|
SUFFIXES = -supplement.add -docs.add
|
|
|
|
%-supplement.add: supplement.add.in
|
|
t=`echo $@ | sed -e 's,-supplement.add,,'`; \
|
|
sed -e s/@target\@/$$t/g < $< >$@
|
|
|
|
%-docs.add: templ.add.in
|
|
t=`echo $@ | sed -e 's,-docs.add,,'`; \
|
|
sed -e s/@target\@/$$t/g < $< >$@
|
|
|
|
rtemsdoc.spec: $(SUBPACKAGES) Makefile
|
|
cat $(SUBPACKAGES) | sed \
|
|
-e 's,[@]rtems_version[@],$(RTEMS_VERSION),g' \
|
|
-e 's,[@]rtems_rpm_release[@],$(RTEMS_RPM_RELEASE),g' \
|
|
> $@
|
|
CLEANFILES += rtemsdoc.spec
|
|
|
|
noinst_DATA = rtemsdoc.spec
|
|
|
|
include $(top_srcdir)/../automake/local.am
|