diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -46,8 +46,8 @@ all-secrets.txt = $(all-secrets.txt.gpg:.gpg=) generated-assets = \ - tld.txt \ - src/infrastructure/config/conf.env \ + tld.txt \ + src/config/conf.env \ derived-assets = \ $(generated-assets) \ @@ -70,14 +70,14 @@ $(derived-assets): Makefile tld.txt: echo '$(TLD)' > $@ -system.sentinel: src/infrastructure/guix/system.scm tld.txt \ - src/infrastructure/keys/SSH/root@$(URL).id_rsa.pub.stripped - guix build -v3 -f src/infrastructure/guix/system.scm +system.sentinel: src/guix/system.scm tld.txt \ + src/keys/SSH/root@$(URL).id_rsa.pub.stripped + guix build -v3 -f src/guix/system.scm touch $@ .SUFFIXES: .stripped -src/infrastructure/keys/SSH/root@$(TLD).id_rsa.pub.stripped: \ - src/infrastructure/keys/SSH/root@$(TLD).id_rsa.pub.txt +src/keys/SSH/root@$(TLD).id_rsa.pub.stripped: \ + src/keys/SSH/root@$(TLD).id_rsa.pub.txt cut -d' ' -f8- < $*.txt > $@ @@ -100,18 +100,18 @@ public/CHANGELOG.html: mkdir-public.sentinel CHANGELOG.html public/TODOs.html: public/ci: mkdir-public.sentinel - sh src/infrastructure/scripts/report.sh -o $@ + sh src/scripts/report.sh -o $@ ## Generates the `public/` directory, which contains all static HTML files. public: public/CHANGELOG.html public/TODOs.html public/ci $(all-secrets.txt.gpg): - gpg -ae `src/infrastructure/keys/gpg-recipients.sh` < $* > $@ + gpg -ae `src/keys/gpg-recipients.sh` < $* > $@ ## Import the GPG keys to allow encrypting secrets to them. import: - sh src/infrastructure/keys/gpg-import.sh + sh src/keys/gpg-import.sh ## Print the latest 500 lines of the application and keeps tailing it. @@ -138,7 +138,7 @@ upload-secrets: $(prod-secrets.txt) ## Generate the `.ssh/authorized_keys` file and upload it to $(OFFSITE_SSH). upload-keys: - cat src/infrastructure/keys/SSH/*.txt | \ + cat src/keys/SSH/*.txt | \ ssh $(OFFSITE_SSH) dd of=.ssh/authorized_keys ## Deploy everything that is deployable from the repository when |
