-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (14 loc) · 702 Bytes
/
Copy pathMakefile
File metadata and controls
19 lines (14 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SHELL := /bin/bash
.PHONY: credits privacy publish all
help:
# Target publish-alpha: Pushes the current alpha version to the server using the latest tag
# Also pushes the branch and tags to the remote repository
credits: XLToolbox/Resources/html/credits.html
privacy:
pandoc PRIVACY.md -o XLToolbox/Resources/html/privacy.html
XLToolbox/Resources/html/credits.html: ../web/content/about.haml
sed -e '1,/<!-- 8< -->/d; /vim:/d; s/^\( \)\{4\}//' ../web/content/about.haml | perl -0777 -pe 's/\[([^]]+)\]\([^)]+\)/\1/msg' | pandoc -H XLToolbox/Resources/html/style.html > XLToolbox/Resources/html/credits.html
publish:
git push
git push --tags
publish/create-release.rb