summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-01-11 16:44:40 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-01-11 16:44:40 +0100
commit72a83b19f7e895ca2377d796a1d032f228168719 (patch)
treeb5d77c04c3d8d9fcc70c92a9da66605c87ed39c0 /doc/Makefile
parent078e97c9bcf9480bbbc5f55edb909e01dad47190 (diff)
downloadadvtime-72a83b19f7e895ca2377d796a1d032f228168719.tar.gz
advtime-72a83b19f7e895ca2377d796a1d032f228168719.tar.bz2
advtime-72a83b19f7e895ca2377d796a1d032f228168719.zip
Add sources of information.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 20d7f43..9fcb39c 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,22 +1,26 @@
-all: images presentation.html
+.PHONY: all images clean
+all: images presentation.html document.html
IMAGES_PGM=$(wildcard ../src/img/*.pgm)
IMAGES_PNG=$(IMAGES_PGM:.pgm=.png)
.SUFFIXES: .dia .svg
-.SUFFIXES: .pgm .png
-
.dia.svg:
dia --export=$@ --filter=svg $<
+.SUFFIXES: .pgm .png
.pgm.png:
convert $< $@
# inkscape --without-gui --export-png=$@.png -h 1024 $@
+.SUFFIXES: .asciidoc .html
presentation.html: presentation.asciidoc
asciidoc --backend slidy presentation.asciidoc
+.asciidoc.html:
+ asciidoc --backend html $<
+
images: image/film.svg $(IMAGES_PNG)
clean:
- rm -f presentation.html $(IMAGES_PNG)
+ rm -f presentation.html document.html $(IMAGES_PNG)