From 001937976f408cfb8290d044be1571bc78628560 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 5 Mar 2012 22:35:59 -0500 Subject: [PATCH] Add RPM target. Not quite operational. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8283e4ec1..f4ad315c57 100644 --- a/Makefile +++ b/Makefile @@ -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