git.iko.soy/typeable/pandoc
on master help sign in
Makefile: Add 'pandoc-templates' target.
commit9ef3d77652e54e5d3872c1ccfe29918ae2a703b1 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 27 Dec 2017, 09:34 (9 years ago) parent87c9771
2 files changed+11−4
Makefile+9−1 RELEASE-CHECKLIST+2−3
Makefile+9−1
@@ -85,7 +85,15 @@ download_stats:
8585 curl https://api.github.com/repos/jgm/pandoc/releases | \
8686 jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
8787
88+pandoc-templates:
89+ rm ../pandoc-templates/default.* ; \
90+ cp data/templates/default.* ../pandoc-templates/ ; \
91+ pushd ../pandoc-templates/ && \
92+ git add default.* && \
93+ git commit -m "Updated templates for pandoc $(version)" && \
94+ popd
95+
8896clean:
8997 stack clean
9098
91−.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md packages
99+.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md packages pandoc-templates
RELEASE-CHECKLIST+2−3
@@ -7,11 +7,10 @@ _ make man/pandoc.1 and commit if needed
77
88_ Tag release in git
99
10−_ Push templates:
11− git subtree push --prefix=data/templates git@github.com:jgm/pandoc-templates.git master
10+_ make pandoc-templates
1211 cd ../pandoc-templates
13− git pull
1412 git tag REL
13+ git push
1514 git push --tags
1615
1716_ Generate Windows package (make winpkg)