]> www.wagner.pp.ru Git - fiction/Hollowhills.git/blobdiff - Makefile
added Makefile
[fiction/Hollowhills.git] / Makefile
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
+
+