diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-14 05:09:17 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-14 05:09:17 +0200 |
commit | ede9e902729b0ef56e853c63efa0c63c8c2f3458 (patch) | |
tree | fa36000fb9b3d426c07ab29c0ba724dfbc8b1e83 /Makefile.am | |
parent | 48fbe1b4c148bac646841de164a0d1c51f44dd0a (diff) | |
download | librpm-tizen-ede9e902729b0ef56e853c63efa0c63c8c2f3458.tar.gz librpm-tizen-ede9e902729b0ef56e853c63efa0c63c8c2f3458.tar.bz2 librpm-tizen-ede9e902729b0ef56e853c63efa0c63c8c2f3458.zip |
Move generating rpm.pc from configure into Makefile.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 7c2803045..6d0c2651a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -140,6 +140,14 @@ platform: $(top_srcdir)/platform.in CLEANFILES += platform.tmp platform EXTRA_DIST += platform.in +rpm.pc: $(top_srcdir)/rpm.pc.in + @sed \ + -e "s,[@]RPMCONFIGDIR[@],$(rpmconfigdir),g" \ + < $(top_srcdir)/rpm.pc.in > rpm.pc.tmp \ + && ( cd $(top_builddir) && ./config.status --file=${subdir}/rpm.pc:${subdir}/rpm.pc.tmp ) +CLEANFILES += rpm.pc.tmp rpm.pc +EXTRA_DIST += rpm.pc.in + pkgsrcdir = $(prefix)/src/$(RPMCANONVENDOR) pkgsrc_RPMSdir = $(pkgsrcdir)/RPMS pkgsrc_RPMS_DATA = |