diff options
-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) |