mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
More work on debian packaging
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@ awx/public/media
|
|||||||
awx/public/static
|
awx/public/static
|
||||||
env/*
|
env/*
|
||||||
build
|
build
|
||||||
|
deb-build
|
||||||
dist
|
dist
|
||||||
htmlcov
|
htmlcov
|
||||||
rpm-build
|
rpm-build
|
||||||
|
|||||||
13
Makefile
13
Makefile
@@ -1,6 +1,7 @@
|
|||||||
PYTHON=python
|
PYTHON=python
|
||||||
SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||||
RELEASE=awx-1.2b2
|
RELEASE=awx-1.2b2
|
||||||
|
VERSION=$(shell $(PYTHON) -c "from awx import __version__; print(__version__.split('-')[0])")
|
||||||
|
|
||||||
.PHONY: clean rebase push setup requirements requirements_pypi develop refresh \
|
.PHONY: clean rebase push setup requirements requirements_pypi develop refresh \
|
||||||
adduser syncdb migrate dbchange dbshell runserver celeryd test \
|
adduser syncdb migrate dbchange dbshell runserver celeryd test \
|
||||||
@@ -126,11 +127,13 @@ rpm: sdist
|
|||||||
-ba packaging/rpm/awx.spec
|
-ba packaging/rpm/awx.spec
|
||||||
|
|
||||||
deb: sdist
|
deb: sdist
|
||||||
cp -r packaging/debian ./
|
@mkdir -p deb-build
|
||||||
chmod 755 debian/rules
|
@cp dist/*.gz deb-build/
|
||||||
fakeroot debian/rules clean
|
(cd deb-build && tar zxf awx-$(VERSION).tar.gz)
|
||||||
fakeroot dh_install
|
(cd deb-build/awx-$(VERSION) && dh_make --single --yes -f ../awx-$(VERSION).tar.gz)
|
||||||
fakeroot debian/rules binary
|
@rm -rf deb-build/awx-$(VERSION)/debian
|
||||||
|
@cp -a packaging/debian deb-build/awx-$(VERSION)/
|
||||||
|
(cd deb-build/awx-$(VERSION) && dpkg-buildpackage -nc -us -uc -b)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(PYTHON) setup.py install egg_info -b ""
|
$(PYTHON) setup.py install egg_info -b ""
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
NameVirtualHost *:80
|
NameVirtualHost *:80
|
||||||
WSGISocketPrefix run/wsgi
|
|
||||||
|
|
||||||
<VirtualHost _default_:80>
|
<VirtualHost _default_:80>
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user