summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2f9a73e..f1e10e2 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ GOFLAGS?=-tags netgo \
 getwtxt: getwtxt.go go.mod go.sum
 	@echo
 	@echo Building getwtxt. This may take a minute or two.
+	@mkdir logs
 	go build $(GOFLAGS) \
 		-o $@
 	@echo
@@ -40,7 +41,7 @@ install:
 	@echo
 	@echo
 	@echo Creating directories...
-	mkdir -p $(BINDIR)/assets/tmpl $(BINDIR)/docs
+	mkdir -p $(BINDIR)/assets/tmpl $(BINDIR)/docs $(BINDIR)/logs
 	@echo
 	@echo Copying files...
 	install -m755 getwtxt $(BINDIR)