about summary refs log tree commit homepage
path: root/sa_config/Makefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-01-09 23:13:37 +0000
committerEric Wong <e@80x24.org>2014-01-09 22:37:54 +0000
commit3e96cf129ba5fc2834b691314c504aa363fd5cf4 (patch)
treedd5c42532049bc5dd2a420126edb9f07e9a5b9a0 /sa_config/Makefile
downloadpublic-inbox-3e96cf129ba5fc2834b691314c504aa363fd5cf4.tar.gz
Diffstat (limited to 'sa_config/Makefile')
-rw-r--r--sa_config/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/sa_config/Makefile b/sa_config/Makefile
new file mode 100644
index 00000000..a90c857f
--- /dev/null
+++ b/sa_config/Makefile
@@ -0,0 +1,17 @@
+INSTALL = install
+all::
+        @cat README
+
+ROOT_FILES = etc/spamassassin/public-inbox.pre
+install-root:
+        @mkdir -p /etc/spamassassin
+        for f in $(ROOT_FILES); do $(INSTALL) -m 0644 root/$$f /$$f; done
+diff-root:
+        for f in $(ROOT_FILES); do diff -u root/$$f /$$f; done
+
+USER_FILES = .spamassassin/user_prefs
+install-user:
+        @mkdir -p ~/.spamassassin/
+        for f in $(USER_FILES); do $(INSTALL) -m 0644 user/$$f ~/$$f; done
+diff-user:
+        for f in $(USER_FILES); do diff -u user/$$f ~/$$f; done