aboutsummaryrefslogtreecommitdiff
path: root/doc/manual_src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual_src/Makefile')
-rw-r--r--doc/manual_src/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/manual_src/Makefile b/doc/manual_src/Makefile
index 76fdbda..31f4f4e 100644
--- a/doc/manual_src/Makefile
+++ b/doc/manual_src/Makefile
@@ -1,4 +1,12 @@
+LIBDIR=.
+#LIBDIR=../../../FiveUI-github
+HEADER=$(LIBDIR)/galois-github-header.txt
+BEFORE_BODY=$(LIBDIR)/galois-github-before-body.txt
+AFTER_BODY=$(LIBDIR)/galois-github-after-body.txt
+CSS=$(LIBDIR)/galois-github.css
+HTML5=-t html5
+
DOCS := $(patsubst %.md,%.html,$(wildcard *.md))
all: $(DOCS)
@@ -7,4 +15,5 @@ clean:
$(RM) $(DOCS)
%.html: %.md
- pandoc $< -o $@ -s --highlight-style=kate
+ pandoc $< -o $@ -s --highlight-style=kate -H $(HEADER) -B $(BEFORE_BODY) -A $(AFTER_BODY) -c $(CSS) $(HTML5)
+