summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 27685dc..5f7f1bd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: public bin/webshopd
+all: doc public bin/webshopd
public:
hugo build
@@ -6,5 +6,10 @@ public:
bin/%: cmd/%
go build -o $@ ./$<
+doc: doc/arch.png
+
+doc/arch.png: doc/arch.dot
+ dot -Tpng <$< >$@
+
clean:
rm -rf bin public