blob: fa83da9009a19f8cd4c61deafc0cfb30d95afade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
## Process this file with automake to produce Makefile.in
SUBDIRS = src tests
EXTRA_DIST = autogen.sh soupConf.sh.in soup_apacheConf.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
soup_apacheConf.sh: $(top_srcdir)/soup_apacheConf.sh.in Makefile
sed -e 's?\@SOUP_APACHE_LIBDIR\@?$(SOUP_APACHE_LIBDIR)?g' \
-e 's?\@SOUP_APACHE_INCLUDEDIR\@?$(SOUP_APACHE_INCLUDEDIR)?g' \
-e 's?\@VERSION\@?$(VERSION)?g' \
-e 's?\@SOUP_APACHE_LIBS\@?$(SOUP_APACHE_LIBS)?g' \
< $(top_srcdir)/soup_apacheConf.sh.in > soup_apacheConf.tmp \
&& mv soup_apacheConf.tmp soup_apacheConf.sh
confexecdir = $(libdir)
confexec_DATA = soupConf.sh soup_apacheConf.sh
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = soup.pc
dist-hook: soup.spec
cp soup.spec $(distdir)
rpms: distcheck
rpm -ta $(top_builddir)/@PACKAGE@-@VERSION@.tar.gz
CLEANFILES = soupConf.sh
|