summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guimb/scm/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/guimb/scm/Makefile.am b/guimb/scm/Makefile.am
index 69790850a..9c6c9229c 100644
--- a/guimb/scm/Makefile.am
+++ b/guimb/scm/Makefile.am
@@ -1,10 +1,16 @@
+bin_SCRIPTS = sieve.scm
+
+sieve.scm: sieve.scm.in
+ sed "s,%BINDIR%,$(bindir),g;s,%LIBDIR%,$(pkgdatadir),g" $< > $@
+
+CLEANFILES = sieve.scm
+
pkgdata_DATA=\
mimeheader.scm\
numaddr.scm\
redirect.scm\
reject.scm\
- sieve-core.scm\
- sieve.scm
+ sieve-core.scm
EXTRA_DIST=\
mimeheader.scm\
@@ -12,5 +18,5 @@ EXTRA_DIST=\
redirect.scm\
reject.scm\
sieve-core.scm\
- sieve.scm
+ sieve.scm.in

Return to:

Send suggestions and report system problems to the System administrator.