From 9df8021872ed488d0e5566fea38cbc41e847e867 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Sat, 10 Nov 2012 15:36:05 +0100 Subject: Add build system for presentation and images. --- doc/Makefile | 18 ++++++++++++++++++ doc/image/game_rules.dia | Bin 0 -> 1535 bytes doc/image/network_protocol.dia | Bin 0 -> 1509 bytes doc/network_protocol.dia | Bin 1533 -> 0 bytes doc/presentation.asciidoc | 21 +++++++++++++++++++++ 5 files changed, 39 insertions(+) create mode 100644 doc/Makefile create mode 100644 doc/image/game_rules.dia create mode 100644 doc/image/network_protocol.dia delete mode 100644 doc/network_protocol.dia create mode 100644 doc/presentation.asciidoc (limited to 'doc') 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 Binary files /dev/null and b/doc/image/game_rules.dia differ diff --git a/doc/image/network_protocol.dia b/doc/image/network_protocol.dia new file mode 100644 index 0000000..bfc529c Binary files /dev/null and b/doc/image/network_protocol.dia differ diff --git a/doc/network_protocol.dia b/doc/network_protocol.dia deleted file mode 100644 index df9693e..0000000 Binary files a/doc/network_protocol.dia and /dev/null 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: -- cgit