~netlandish/django-wiki

a11b1c05be6f9d07e6aaff94865b425e8d31b828 — Benjamin Bach 8 years ago 749cc61
update the release and sdist targets
1 files changed, 8 insertions(+), 9 deletions(-)

M Makefile
M Makefile => Makefile +8 -9
@@ 42,7 42,14 @@ docs:
	sphinx-build -b linkcheck ./docs _build/
	sphinx-build -b html ./docs _build/

release: clean assets
release: sdist
	twine upload -s dist/*

assets:
	lessc wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
	lessc -x wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css

sdist: clean assets
	echo "Creating HISTORY.rst..."
	echo "Latest Changes" > HISTORY.rst
	echo "==============" >> HISTORY.rst


@@ 52,14 59,6 @@ release: clean assets
	echo "Compiled on: `date`::" >> HISTORY.rst
	echo "" >> HISTORY.rst
	git log --graph --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit | sed "s/^/    /" >> HISTORY.rst
	echo "Packing source dist..."
	twine upload -s dist/*

assets:
	lessc wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
	lessc -x wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css

sdist: clean assets
	python setup.py sdist
	python setup.py bdist_wheel
	ls -l dist