From 2935824b7a793b8d7f9175991322afe7b0357a20 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 7 Jan 2014 11:53:30 -0500 Subject: [PATCH] Add ami packaging support and update Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8abd3bbebb..05c2fcb579 100644 --- a/Makefile +++ b/Makefile @@ -187,5 +187,9 @@ deb: sdist @echo "awx_$(DEB_PKG_RELEASE).deb admin optional" > $(DEB_BUILD_DIR)/debian/realfiles (cd $(DEB_BUILD_DIR) && PKG_RELEASE=$(DEB_PKG_RELEASE) dpkg-buildpackage -nc -us -uc -b --changes-option="-fdebian/realfiles") +ami_release: + packer build -var-file=vars-awxkeys.json -var-file=vars-release.json awx.json +ami_nightly: + packer build -var-file=vars-awxkeys.json -var-file=vars-nightly.json awx.json install: $(PYTHON) setup.py install egg_info -b ""