diff options
author | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
commit | 1d682e2c25d9e9b965fd653a94e9c291eb74506e (patch) | |
tree | 77a994287e279c56703e06b9ac8fc332a39528d3 /Makefile | |
parent | description: Add simple description text file (diff) | |
download | asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.gz asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.xz |
Change "src/infrastructure/ => src/" everywhere
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 |