Commit 0534bc3d 0534bc3d07c3b2242d7806d232570d7b294f88c4 by Sergey Poznyakoff

Do not try to install anything if Guile is not available

1 parent 5a02580f
......@@ -17,9 +17,11 @@
## Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA
## 02110-1301 USA
bin_SCRIPTS = sieve.scm
MU_GUILE_SIEVE_SCRIPTS_X=sieve.scm
bin_SCRIPTS = @MU_GUILE_SIEVE_SCRIPTS@
EXTRA_SCRIPTS=sieve.scm
sievemoddir=$(GUILE_SITE)/sieve-modules
sievemoddir=@MU_GUILE_SIEVE_MOD_DIR@
sieve.scm: sieve.scm.in sieve.sed
sed -f sieve.sed $(srcdir)/sieve.scm.in > sieve.scm
......@@ -34,17 +36,19 @@ sieve.sed: Makefile
CLEANFILES = sieve.scm sieve.sed
sitedir=$(GUILE_SITE)/$(PACKAGE)
sitedir=@MU_GUILE_SITE_DIR@
GUILE_SITE_DATA_X=sieve-core.scm
site_DATA=@GUILE_SITE_DATA@
sievemod_DATA=\
MU_GUILE_SIEVE_MOD_DATA_X=\
mimeheader.scm\
numaddr.scm\
redirect.scm\
reject.scm\
vacation.scm
sievemod_DATA=@MU_GUILE_SIEVE_MOD_DATA@
EXTRA_DIST=\
mimeheader.scm\
numaddr.scm\
......
......@@ -50,7 +50,7 @@ libmu_scm_la_LIBADD = \
EXTRA_DIST=mailutils.scm mailutils.scm.in
sitedir=$(GUILE_SITE)/$(PACKAGE)
sitedir=@MU_GUILE_SITE_DIR@
GUILE_SITE_DATA_X=guile-procedures.txt mailutils.scm
site_DATA=@GUILE_SITE_DATA@
......