aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-07-20 15:55:26 -0400
committerRyan Kavanagh <rak@debian.org>2018-07-20 15:59:08 -0400
commit458db4359b3b704e1c9d0bb6f0f6947bdb94b11c (patch)
tree30f8c27ff9ec70f11f3359d7e356e305b681c0aa /Makefile
parentspecify full key-id in aliases target (diff)
Standardize generation of gpg-encrypted files
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 633ce11..622ee1c 100755
--- a/Makefile
+++ b/Makefile
@@ -268,10 +268,12 @@ diff: build
diff -u build/$${file} ../$$file; \
done
-aliases:
- cp -f ../.mutt/alias.rc .mutt && \
- gpg -r4E469519ED677734268FBD958F7BF8FC4A11C97A --encrypt .mutt/alias.rc && \
- mv -f .mutt/alias.rc.gpg gpg/.mutt/alias.rc.gpg
+ugpg/%:
+ cp -f ../$* $* && \
+ gpg -r4E469519ED677734268FBD958F7BF8FC4A11C97A --encrypt $* && \
+ mv -f $*.gpg gpg/$*.gpg
+
+aliases: ugpg/.mutt/alias.rc ugpg/.mutt/alias-cmu.rc
.FORCE:
.PHONY: build install clean verify merge udh emacsen diff .FORCE aliases