summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-11-12 23:19:53 -0500
committerrsiddharth <s@ricketyspace.net>2018-11-12 23:19:53 -0500
commited43c8ecf2d8434d1f8089d405ed162a415b7b6f (patch)
treeca9736381359785e2d353b1ef9a9234675e7c1e1
parentb6381a6ddebbb9bdd7be49da5a66e64a23a7aad3 (diff)
docs/Makefile: generate html from markdown.
-rw-r--r--docs/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 160cc45..b90abef 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -5,13 +5,13 @@
build_dir=_build
# docs
-header=assets/includes/header.html
-footer=assets/includes/footer.html
+header=html/header.html
+footer=html/footer.html
-index_src=index.org
+index_src=../README
index_out=$(build_dir)/index.html
-install_guile_src=install-guile.org
+install_guile_src=install-guile.md
install_guile_dir=$(build_dir)/install-guile
install_guile_out=$(install_guile_dir)/index.html
@@ -26,7 +26,7 @@ $(build_dir):
$(index_out): $(index_src) $(header) $(footer) $(build_dir)
@cat $(header) > $@
- @pandoc -f org -t html $< >> $@
+ ./bin/markdown $(index_src) >> $@
@cat $(footer) >> $@
$(install_guile_dir):
@@ -35,9 +35,9 @@ $(install_guile_dir):
$(install_guile_out): $(install_guile_src) $(header) $(footer) \
$(install_guile_dir)
@cat $(header) > $@
- @pandoc -f org -t html $< >> $@
+ ./bin/markdown $(install_guile_src) >> $@
@cat $(footer) >> $@
clean: $(build_dir)
- @rm -rf $<
+ @rm -rf $(build_dir)
.PHONY: clean