Commit 00193797 by Michael DeHaan

Add RPM target. Not quite operational.

parent 0935506d
...@@ -34,7 +34,8 @@ pyflakes: ...@@ -34,7 +34,8 @@ pyflakes:
clean: clean:
@echo "Cleaning up distutils stuff" @echo "Cleaning up distutils stuff"
rm -rf build -rm -rf build
-rm -rf dist
@echo "Cleaning up byte compiled python stuff" @echo "Cleaning up byte compiled python stuff"
find . -regex ".*\.py[co]$$" -delete find . -regex ".*\.py[co]$$" -delete
@echo "Cleaning up editor backup files" @echo "Cleaning up editor backup files"
...@@ -48,6 +49,10 @@ python: docs ...@@ -48,6 +49,10 @@ python: docs
install: docs install: docs
python setup.py install python setup.py install
rpm:
python setup.py sdist
rpmbuild -ta dist/ansible-1.0.tar.gz
.PHONEY: docs manual clean pep8 .PHONEY: docs manual clean pep8
vpath %.asciidoc docs/man/man1 vpath %.asciidoc docs/man/man1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment