summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-02-10 16:41:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-02-10 16:41:08 +0000
commitbeabcaf9363fc7cf9d2ed98cb994e5f8ddb5b25a (patch)
tree35fb5a3e8865da7440be50569ee080dc145b3c03 /scripts/Makefile.am
parent55dfd4cde455a1d9f4d26466f9adeb532c394743 (diff)
downloadrtems-beabcaf9363fc7cf9d2ed98cb994e5f8ddb5b25a.tar.bz2
2004-02-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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}.
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index b04ad1bc03..c489979d7d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -18,12 +18,17 @@ CONFIG_STATUS_DEPENDENCIES = setup.cache
setup.cache: setup.def
cp setup.def $@
-DISTCLEANFILES = setup.cache
-
+rtems_source_spec_DEPS = common/common.add rtems/rtems-source.add \
+ common/clean.add
noinst_DATA += rtems/rtems-source.spec
-rtems/rtems-source.spec: $(top_builddir)/common/common.add rtems/rtems-source.add \
- $(top_builddir)/common/clean.add
- cat $^ | sed 's,[@]rtems_version[@],$(RTEMS_VERSION),g' > $@
+rtems/rtems-source.spec: $(rtems_source_spec_DEPS)
+ cat $(rtems_source_spec_DEPS) | sed \
+ -e 's,[@]rtems_version[@],$(RTEMS_VERSION),g' \
+ -e 's,[@]RTEMS_RPM_RELEASE[@],$(RTEMS_RPM_RELEASE),g' > $@
+
+CLEANFILES = rtems/rtems-source.spec
+
+DISTCLEANFILES = setup.cache
include $(top_srcdir)/../automake/subdirs.am
include $(top_srcdir)/../automake/local.am