Skip to content

Commit

Permalink
More makefile cleanup. Fixes Python-Markdown#202.
Browse files Browse the repository at this point in the history
  • Loading branch information
Waylan Limberg committed Mar 15, 2013
1 parent 3d14596 commit ed50863
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ recursive-include tests *.txt *.html *.cfg *.py
include setup.py
include setup.cfg
include run-tests.py
include tox.ini
include makefile
include LICENSE.md
include README.md
include INSTALL.md
Expand Down
12 changes: 9 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
# Python-Markdown makefile

.PHONY : install
install:
python setup.py install

.PHONY : deploy
deploy:
python setup.py register
python setup.py sdist --formats zip,gztar upload

.PHONY : build
build:
python setup.py sdist --formats zip,gztar

.PHONY : build-win
build-win:
python setup.py bdist_wininst

.PHONY : docs
docs:
python setup.py build_docs --force
cd build/docs
zip -r ../docs.zip .
cd ../../
cd build/docs && zip -r ../docs.zip .

.PHONY : test
test:
tox

.PHONY : update-tests
update-tests:
python run-tests.py update

.PHONY : clean
clean:
rm -f MANIFEST
rm -f test-output.html
Expand Down

0 comments on commit ed50863

Please sign in to comment.