Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike@mikegerwitz.com>2013-05-30 23:15:29 -0400
committerMike Gerwitz <mike@mikegerwitz.com>2013-05-30 23:15:43 -0400
commitaf80689eae07fba0ff2a471d99ed540757385cef (patch)
treebaf575174d5e7981bae3c9294531c347cbf22840
parent9441ed46273d038ddd5ae1ecebaf068a3bb07f8e (diff)
downloadthoughts-af80689eae07fba0ff2a471d99ed540757385cef.tar.gz
thoughts-af80689eae07fba0ff2a471d99ed540757385cef.tar.bz2
thoughts-af80689eae07fba0ff2a471d99ed540757385cef.zip
Added repo URL to Makefile
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f78e9c7..7afd94d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ pages := $(patsubst %.pg, %.html, \
articles := $(patsubst %.txt, %.html, \
$(shell find docs/ -name '*.txt'))
www_root := www-root/
+url_root := http://mikegerwitz.com/
+repo_url := https://gitorious.org/mtg-personal/thoughts
+repo_commit_url := '$(repo_url)/commit/%s'
# configured repo2html command
repo2html := repo2html \
@@ -29,7 +32,9 @@ repo2html := repo2html \
-c 'Mike Gerwitz' \
-l 'Verbatim redistribution of this document in its entirety is permitted provided that this copyright notice is preserved.' \
-C '/style.css' \
- -T "$(PWD)/tpl" \
+ -T '$(PWD)/tpl' \
+ -u '$(repo_url)' \
+ -U '$(repo_commit_url)' \
-E
.PHONY: default clean pages articles thoughts
@@ -41,7 +46,7 @@ thoughts:
$(repo2html) \
-R 40 \
-o "$(www_root)" \
- 'http://mikegerwitz.com/' \
+ '$(url_root)' \
> "$(www_root)/index.html"
# all .txt articles will be compiled with asciidoc, then post-processed with the