]> www.wagner.pp.ru Git - fiction/Hollowhills.git/commitdiff
added Makefile
authorVictor Wagner <vitus@wagner.pp.ru>
Sat, 23 Feb 2013 17:21:35 +0000 (21:21 +0400)
committerVictor Wagner <vitus@wagner.pp.ru>
Sat, 23 Feb 2013 17:21:35 +0000 (21:21 +0400)
Makefile [new file with mode: 0644]
title.txt [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..b779f25
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+SOURCES=title.txt nastya.txt sasha.txt hill.txt weekend.txt
+
+hollowhills.html: all.txt
+       pandoc -t html --standalone -V date=`date +%x` -o $@  $+
+hollowhills.epub: all.txt
+       pandoc -t epub -V date=`date +%x` -o $@ $+
+all.txt: $(SOURCES) Makefile
+       cat $(SOURCES) > all.txt
+
+       
diff --git a/title.txt b/title.txt
new file mode 100644 (file)
index 0000000..c0e4b9b
--- /dev/null
+++ b/title.txt
@@ -0,0 +1,4 @@
+% Полые холмы Верхневолжья
+% Виктор Вагнер
+
+