source: rtems/contrib/crossrpms/autotools/autoconf.am @ 64101ef

4.104.115
Last change on this file since 64101ef was 700acb98, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/13/09 at 14:26:49

Move %{?dist} into autoconf.am

  • Property mode set to 100644
File size: 867 bytes
Line 
1AUTOCONF_SUBPACKAGES = $(top_srcdir)/common/common.add
2AUTOCONF_SUBPACKAGES += $(top_srcdir)/autotools/autoconf.add
3AUTOCONF_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
4AUTOCONF_SUBPACKAGES += $(top_srcdir)/common/clean.add
5AUTOCONF_SUBPACKAGES += $(top_srcdir)/autotools/target-autoconf.add
6
7autoconf.spec.in: $(AUTOCONF_SUBPACKAGES) Makefile.in $(srcdir)/autoconf-sources.add
8        cat $(AUTOCONF_SUBPACKAGES) | sed \
9          -e "/[@]SOURCES[@]/r $(srcdir)/autoconf-sources.add" \
10          -e "/[@]SOURCES[@]/d" \
11          -e "s/[@]AUTOCONF_VERS[@]/$(AUTOCONF_VERS)/" \
12          -e "s/[@]AUTOCONF_RPMREL[@]/$(AUTOCONF_RPMREL)%{?dist}/" > $@
13CLEANFILES += autoconf.spec.in
14
15
16@rpmprefix@autoconf.spec: autoconf.spec.in
17        $(MKSPEC) autoconf.spec.in | $(SPECSTRIP) > $@
18CLEANFILES += @rpmprefix@autoconf.spec
19noinst_DATA += @rpmprefix@autoconf.spec
20
21EXTRA_DIST += $(AUTOCONF_SUBPACKAGES)
Note: See TracBrowser for help on using the repository browser.