Do not try to install anything if Guile is not available
Showing
2 changed files
with
9 additions
and
5 deletions
... | @@ -17,9 +17,11 @@ | ... | @@ -17,9 +17,11 @@ |
17 | ## Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA | 17 | ## Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA |
18 | ## 02110-1301 USA | 18 | ## 02110-1301 USA |
19 | 19 | ||
20 | bin_SCRIPTS = sieve.scm | 20 | MU_GUILE_SIEVE_SCRIPTS_X=sieve.scm |
21 | bin_SCRIPTS = @MU_GUILE_SIEVE_SCRIPTS@ | ||
22 | EXTRA_SCRIPTS=sieve.scm | ||
21 | 23 | ||
22 | sievemoddir=$(GUILE_SITE)/sieve-modules | 24 | sievemoddir=@MU_GUILE_SIEVE_MOD_DIR@ |
23 | 25 | ||
24 | sieve.scm: sieve.scm.in sieve.sed | 26 | sieve.scm: sieve.scm.in sieve.sed |
25 | sed -f sieve.sed $(srcdir)/sieve.scm.in > sieve.scm | 27 | sed -f sieve.sed $(srcdir)/sieve.scm.in > sieve.scm |
... | @@ -34,17 +36,19 @@ sieve.sed: Makefile | ... | @@ -34,17 +36,19 @@ sieve.sed: Makefile |
34 | 36 | ||
35 | CLEANFILES = sieve.scm sieve.sed | 37 | CLEANFILES = sieve.scm sieve.sed |
36 | 38 | ||
37 | sitedir=$(GUILE_SITE)/$(PACKAGE) | 39 | sitedir=@MU_GUILE_SITE_DIR@ |
38 | GUILE_SITE_DATA_X=sieve-core.scm | 40 | GUILE_SITE_DATA_X=sieve-core.scm |
39 | site_DATA=@GUILE_SITE_DATA@ | 41 | site_DATA=@GUILE_SITE_DATA@ |
40 | 42 | ||
41 | sievemod_DATA=\ | 43 | MU_GUILE_SIEVE_MOD_DATA_X=\ |
42 | mimeheader.scm\ | 44 | mimeheader.scm\ |
43 | numaddr.scm\ | 45 | numaddr.scm\ |
44 | redirect.scm\ | 46 | redirect.scm\ |
45 | reject.scm\ | 47 | reject.scm\ |
46 | vacation.scm | 48 | vacation.scm |
47 | 49 | ||
50 | sievemod_DATA=@MU_GUILE_SIEVE_MOD_DATA@ | ||
51 | |||
48 | EXTRA_DIST=\ | 52 | EXTRA_DIST=\ |
49 | mimeheader.scm\ | 53 | mimeheader.scm\ |
50 | numaddr.scm\ | 54 | numaddr.scm\ | ... | ... |
... | @@ -50,7 +50,7 @@ libmu_scm_la_LIBADD = \ | ... | @@ -50,7 +50,7 @@ libmu_scm_la_LIBADD = \ |
50 | 50 | ||
51 | EXTRA_DIST=mailutils.scm mailutils.scm.in | 51 | EXTRA_DIST=mailutils.scm mailutils.scm.in |
52 | 52 | ||
53 | sitedir=$(GUILE_SITE)/$(PACKAGE) | 53 | sitedir=@MU_GUILE_SITE_DIR@ |
54 | GUILE_SITE_DATA_X=guile-procedures.txt mailutils.scm | 54 | GUILE_SITE_DATA_X=guile-procedures.txt mailutils.scm |
55 | site_DATA=@GUILE_SITE_DATA@ | 55 | site_DATA=@GUILE_SITE_DATA@ |
56 | 56 | ... | ... |
-
Please register or sign in to post a comment