diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-13 14:51:46 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-13 14:51:46 +0200 |
commit | df1b72d3af290d3d15d0501f2a116f685aee3c0c (patch) | |
tree | 6eff206abdcfee00195040c068fb4db8373b022b | |
parent | a019b8bf9670eb1d5b374defa646a32b47a0e097 (diff) | |
download | rpm-df1b72d3af290d3d15d0501f2a116f685aee3c0c.tar.gz rpm-df1b72d3af290d3d15d0501f2a116f685aee3c0c.tar.bz2 rpm-df1b72d3af290d3d15d0501f2a116f685aee3c0c.zip |
Process platform in Makefile instead of configure.
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ceae46027..7c2803045 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,6 +132,14 @@ macros: $(top_srcdir)/macros.in CLEANFILES += macros.tmp macros EXTRA_DIST += macros.in +platform: $(top_srcdir)/platform.in + @sed \ + -e "s,[@]RPMCONFIGDIR[@],$(rpmconfigdir),g" \ + < $(top_srcdir)/platform.in > platform.tmp \ + && ( cd $(top_builddir) && ./config.status --file=${subdir}/platform:${subdir}/platform.tmp ) +CLEANFILES += platform.tmp platform +EXTRA_DIST += platform.in + pkgsrcdir = $(prefix)/src/$(RPMCANONVENDOR) pkgsrc_RPMSdir = $(pkgsrcdir)/RPMS pkgsrc_RPMS_DATA = diff --git a/configure.ac b/configure.ac index 6f68b4e64..afb295ac6 100644 --- a/configure.ac +++ b/configure.ac @@ -1067,7 +1067,7 @@ AC_CONFIG_SUBDIRS(db3) AC_PATH_PROG(AUTOM4TE,autom4te,:) -AC_CONFIG_FILES([ Doxyfile Makefile platform rpm.pc +AC_CONFIG_FILES([ Doxyfile Makefile rpm.pc rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile po/Makefile.in scripts/Makefile misc/Makefile |