From 458db4359b3b704e1c9d0bb6f0f6947bdb94b11c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 20 Jul 2018 15:55:26 -0400 Subject: Standardize generation of gpg-encrypted files --- Makefile | 10 ++++++---- 1 file 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 -- cgit v1.2.3