From 1d682e2c25d9e9b965fd653a94e9c291eb74506e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 25 Nov 2023 19:54:30 -0300 Subject: Change "src/infrastructure/ => src/" everywhere --- Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9e55ee8..b8c88e4 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3