Add RPM target. Not quite operational.

This commit is contained in:
Michael DeHaan 2012-03-05 22:35:59 -05:00
parent 0935506d6f
commit 001937976f

View file

@ -34,7 +34,8 @@ pyflakes:
clean:
@echo "Cleaning up distutils stuff"
rm -rf build
-rm -rf build
-rm -rf dist
@echo "Cleaning up byte compiled python stuff"
find . -regex ".*\.py[co]$$" -delete
@echo "Cleaning up editor backup files"
@ -48,6 +49,10 @@ python: docs
install: docs
python setup.py install
rpm:
python setup.py sdist
rpmbuild -ta dist/ansible-1.0.tar.gz
.PHONEY: docs manual clean pep8
vpath %.asciidoc docs/man/man1