mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Disable pre-byte-compiling .py files for debian builds
Also includes: * Override pysupport build and install arguments * Increase verbosity when logging install_lib changes
This commit is contained in:
parent
c2c0dee090
commit
3512b93c17
4
Makefile
4
Makefile
@ -55,7 +55,7 @@ DEB_PPA ?= reprepro
|
||||
# RPM build parameters
|
||||
RPM_SPECDIR= packaging/rpm
|
||||
RPM_SPEC = $(RPM_SPECDIR)/$(NAME).spec
|
||||
RPM_DIST = $(shell rpm --eval '%{?dist}')
|
||||
RPM_DIST = $(shell rpm --eval '%{?dist}' 2>/dev/null)
|
||||
ifeq ($(OFFICIAL),yes)
|
||||
RPM_RELEASE = $(RELEASE)
|
||||
else
|
||||
@ -321,7 +321,7 @@ deb-build/$(SDIST_TAR_NAME):
|
||||
cp -a packaging/debian deb-build/$(SDIST_TAR_NAME)/
|
||||
sed -ie "s#^$(NAME) (\([^)]*\)) \([^;]*\);#$(NAME) ($(VERSION)-$(DEB_RELEASE)) $(DEB_DIST);#" deb-build/$(SDIST_TAR_NAME)/debian/changelog
|
||||
|
||||
debian: BYTE_COMPILE = 1
|
||||
# debian: BYTE_COMPILE = 1
|
||||
debian: sdist deb-build/$(SDIST_TAR_NAME)
|
||||
|
||||
deb-build/$(NAME)_$(VERSION)-$(DEB_RELEASE)_all.deb:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user