Fixing Makefile for deb builds

* Minor issue due to fixing up the RELEASE variable related to
  the sdist tarball name the "make deb" command expected
This commit is contained in:
James Cammarata 2013-07-07 18:35:22 -04:00
parent 97703d3968
commit a6fe88cc3c

View File

@ -159,7 +159,7 @@ deb: sdist
@mkdir -p deb-build
@cp dist/$(SDIST_TAR_FILE) deb-build/
(cd deb-build && tar zxf $(SDIST_TAR_FILE))
(cd $(DEB_BUILD_DIR) && dh_make --indep --yes -f ../awx-$(VERSION)-$(BUILD).tar.gz -p awx-$(VERSION)-$(BUILD))
(cd $(DEB_BUILD_DIR) && dh_make --indep --yes -f ../$(SDIST_TAR_FILE) -p awx-$(VERSION))
@rm -rf $(DEB_BUILD_DIR)/debian
@cp -a packaging/debian $(DEB_BUILD_DIR)/
@echo "awx_$(DEB_PKG_RELEASE).deb admin optional" > $(DEB_BUILD_DIR)/debian/realfiles