mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
19 lines
408 B
Makefile
19 lines
408 B
Makefile
# A Makefile for commands I run frequently:
|
|
|
|
# Build GitHub Page from docs
|
|
gh_pages:
|
|
git checkout gh-pages ; \
|
|
git checkout master docs ; \
|
|
git checkout master jrnl ; \
|
|
cd docs ; \
|
|
make html ; \
|
|
cd .. ; \
|
|
cp -r docs/_build/html/* . ; \
|
|
git add -A ; \
|
|
git commit -m "Updated docs from master" ; \
|
|
git push -u origin gh-pages ; \
|
|
git checkout master
|
|
|
|
# Upload to pipy
|
|
dist:
|
|
python setup.py publish
|