summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-10 15:36:05 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-10 15:36:05 +0100
commit9df8021872ed488d0e5566fea38cbc41e847e867 (patch)
tree42e5ec604a4acd63aaa834140ea0430c641aead6
parent6c6e53985bbf4f2896c80d0b2efe01170a3779db (diff)
downloadwbs-9df8021872ed488d0e5566fea38cbc41e847e867.tar.gz
wbs-9df8021872ed488d0e5566fea38cbc41e847e867.tar.bz2
wbs-9df8021872ed488d0e5566fea38cbc41e847e867.zip
Add build system for presentation and images.
-rw-r--r--doc/Makefile18
-rw-r--r--doc/image/game_rules.diabin0 -> 1535 bytes
-rw-r--r--doc/image/network_protocol.diabin0 -> 1509 bytes
-rw-r--r--doc/network_protocol.diabin1533 -> 0 bytes
-rw-r--r--doc/presentation.asciidoc21
5 files changed, 39 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..b5d0c24
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,18 @@
+IMAGES!=ls image/*.dia
+DELFILES!=find . \( -name '*.svg' -o -name '*.html' \)
+
+.PHONY: all images
+all: images presentation.html
+
+.for f in ${IMAGES}
+${f:S/.dia$/.svg/}:
+ @dia --export=$@ --filter=svg $f
+.endfor
+
+images: ${IMAGES:S/.dia$/.svg/}
+
+presentation.html: presentation.asciidoc
+ asciidoc -b slidy presentation.asciidoc
+
+clean:
+ rm -f ${DELFILES}
diff --git a/doc/image/game_rules.dia b/doc/image/game_rules.dia
new file mode 100644
index 0000000..54d2f31
--- /dev/null
+++ b/doc/image/game_rules.dia
Binary files differ
diff --git a/doc/image/network_protocol.dia b/doc/image/network_protocol.dia
new file mode 100644
index 0000000..bfc529c
--- /dev/null
+++ b/doc/image/network_protocol.dia
Binary files differ
diff --git a/doc/network_protocol.dia b/doc/network_protocol.dia
deleted file mode 100644
index df9693e..0000000
--- a/doc/network_protocol.dia
+++ /dev/null
Binary files differ
diff --git a/doc/presentation.asciidoc b/doc/presentation.asciidoc
new file mode 100644
index 0000000..3f81ac8
--- /dev/null
+++ b/doc/presentation.asciidoc
@@ -0,0 +1,21 @@
+DMC 2012 Praesentation TeamFK
+=============================
+:Author: Jan Klemkow, Benjamin Franzke
+
+== Gefangendilemma-Implementierung
+
+ * Server in C
+ * Client in Prolog
+
+== Netzwerkprotokoll
+
+ * TCP Port 8068
+ * Uebertragung von einem Byte!
+ * 'c' fuer *Cooperation*
+ * 'd' fuer *Defection*
+
+== Netzwerkprotokoll-Ablauf
+
+image::image/network_protocol.svg[time]
+
+// vim: set syntax=asciidoc: