diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-01-03 11:36:48 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-01-03 11:36:48 -0500 |
commit | 1d652330f7d1686fbc329b8f5590762c90af5150 (patch) | |
tree | 2b7b2e3df5e6657dd0c7cf44a78521aac2d4e29b /dm | |
parent | Update maintainer_name in sbuild to use Debian account (diff) |
Better handle encrypted files
Diffstat (limited to '')
-rwxr-xr-x | dm | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -20,6 +20,12 @@ LOCAL_FILES = \ .zshrc \ bin/run-mailcheck +# GPG encrypted files +GPG_FILES = \ + .mutt/alias.rc \ + .ssh/id_ecdsa \ + .ssh/id_rsa + # Files that are system independent. # IMPORTANT: directories must have trailing slash GLOBAL_FILES = \ @@ -96,8 +102,11 @@ build/.xmonad/xmonad.hs: FORCE build/.zsh/func/prompt_wunjo_setup: FORCE FORCE: -.mutt/alias.rc: .mutt/alias.rc.gpg - gpg --decrypt $^ > $@ +.mutt/alias.rc: gpg/.mutt/alias.rc.gpg +.ssh/id_%: gpg/.ssh/id_%.gpg +# $(patsubst gpg/,,$(wildcard gpg/.* gpg/*)) +$(GPG_FILES): + gpg --decrypt gpg/$@.gpg > $@ build/%: % $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) @@ -181,4 +190,6 @@ verify: clean: rm -fr build +clobber: clean + rm -f $(GPG_FILES) .PHONY: build install clean verify merge |