diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 8abb0658..d13b1572 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,14 @@ EXTRA_DIST = autogen.sh soupConf.sh.in soup.pc.in soup.spec.in bin_SCRIPTS = soup-config +soupConf.sh: $(top_srcdir)/soupConf.sh.in Makefile + sed -e 's?\@SOUP_LIBDIR\@?$(SOUP_LIBDIR)?g' \ + -e 's?\@SOUP_INCLUDEDIR\@?$(SOUP_INCLUDEDIR)?g' \ + -e 's?\@VERSION\@?$(VERSION)?g' \ + -e 's?\@SOUP_LIBS\@?$(SOUP_LIBS)?g' \ + < $(top_srcdir)/soupConf.sh.in > soupConf.tmp \ + && mv soupConf.tmp soupConf.sh + confexecdir = $(libdir) confexec_DATA = soupConf.sh @@ -17,3 +25,5 @@ dist-hook: soup.spec rpms: distcheck rpm -ta $(top_builddir)/@PACKAGE@-@VERSION@.tar.gz + +CLEANFILES = soupConf.sh |