diff options
author | xengineering <me@xengineering.eu> | 2023-08-27 16:28:08 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-08-27 16:30:16 +0200 |
commit | e6cae5020f90caa6b0ae8e68b4932d113ed47cd1 (patch) | |
tree | 2734eef969a275be1a4d2772e30b62eff734c48a | |
parent | 666ec58a11c83d484744e91ea246c23ba0f2ad85 (diff) | |
download | website-e6cae5020f90caa6b0ae8e68b4932d113ed47cd1.tar website-e6cae5020f90caa6b0ae8e68b4932d113ed47cd1.tar.zst website-e6cae5020f90caa6b0ae8e68b4932d113ed47cd1.zip |
Makefile: Add install target
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,9 @@ +DESTDIR := artifacts +.PHONY: all debug clean install -.PHONY: all debug clean +all: public -all: +public: mkdir -p public hugo -D @@ -9,7 +11,11 @@ debug: hugo server -D clean: + rm -rf artifacts rm -rf public rm -rf resources rm -f .hugo_build.lock +install: + rm -rf $(DESTDIR) + cp -r public $(DESTDIR) |