summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-12 21:44:35 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-12 21:44:35 -0400
commitee0d42110b05ee7173c484a09889b876242f849e (patch)
treeb56fb2e354d5b166c0245f0e974f227540bc260a /Makefile
parentc30dd06c02afb745157b4ea648f74bb69e37d8cf (diff)
downloadgetwtxt-ee0d42110b05ee7173c484a09889b876242f849e.tar.gz
updated makefile with new logs directory
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)