diff options
| author | EuAndreh <eu@euandre.org> | 2022-10-19 12:47:14 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-10-19 12:47:14 -0300 |
| commit | e5fb1012c99b241835b46655cda27d3eff481150 (patch) | |
| tree | 422d460c8beb00131415416741e12eff58517f2c /Makefile | |
| parent | etc/sh/rc: Move creation of common-lisp/source to Makefile (diff) | |
| download | dotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.gz dotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.xz | |
etc/sh/rc: Move generation of GPG/SSH public keys and e.list.txt to Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -5,7 +5,15 @@ pod2man = \ share/man/man1/z.1 \ -all: $(pod2man) $(XDG_DATA_HOME)/common-lisp/source +derived-assets = \ + $(pod2man) \ + $(XDG_CONFIG_HOME)/ssh/id_rsa.pub \ + $(XDG_DATA_HOME)/common-lisp/source \ + $(XDG_DATA_HOME)/euandreh/e.list.txt \ + + + +all: $(derived-assets) share/man/man1/z.1: bin/z @@ -13,3 +21,15 @@ share/man/man1/z.1: bin/z $(XDG_DATA_HOME)/common-lisp/source: ln -s $(SRC)/libre $@ + +$(XDG_CONFIG_HOME)/ssh/id_rsa.pub: + gpg --export-ssh-key eu@euandre.org > $@ + chmod 600 $@ + +$(XDG_DATA_HOME)/euandreh/e.list.txt: ~/Documents/txt/ opt/aux/gen-e-list.sh + sh opt/aux/gen-e-list.sh > $@ + + + +clean: + rm -f $(derived-assets) |
