3 ### Build script for Odin services
5 ### (c) 2015 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the `odin.gg' service, `odin-cgi'.
12 ### `odin-cgi' is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU Affero General Public License as
14 ### published by the Free Software Foundation; either version 3 of the
15 ### License, or (at your option) any later version.
17 ### `odin-cgi' is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU Affero General Public License for more details.
22 ### You should have received a copy of the GNU Affero General Public
23 ### License along with `odin-cgi'; if not, see
24 ### <http://www.gnu.org/licenses/>.
28 TARGETS
+= exim-filter
29 exim-filter
: exim-filter.in passwds Makefile
30 set
-e
; . .
/passwds
; umask
077; \
31 sed
"s;@PASSWORD@;$$exim_db_passwd;g" $< >$@.new
; \
32 chmod
640 $@.new
; chgrp Debian-exim
$@.new
; \
37 clean::; rm -f
$(CLEAN
)