Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
1cf911d5
Commit
1cf911d5
authored
Apr 07, 2015
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back-porting Makefile changes for version/release
parent
b8a9d87f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Makefile
+4
-3
No files found.
Makefile
View file @
1cf911d5
...
@@ -34,7 +34,8 @@ PYTHON=python
...
@@ -34,7 +34,8 @@ 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(
)
"
)
# VERSION file provides one place to update the software version
# VERSION file provides one place to update the software version
VERSION
:=
$(
shell
cat
VERSION
)
VERSION
:=
$(
shell
cat
VERSION | cut
-f1
-d
' '
)
RELEASE
:=
$(
shell
cat
VERSION | cut
-f2
-d
' '
)
# Get the branch information from git
# Get the branch information from git
ifneq
($(shell
which
git),)
ifneq
($(shell
which
git),)
...
@@ -53,7 +54,7 @@ DEBUILD_OPTS = --source-option="-I"
...
@@ -53,7 +54,7 @@ DEBUILD_OPTS = --source-option="-I"
DPUT_BIN
?=
dput
DPUT_BIN
?=
dput
DPUT_OPTS
?=
DPUT_OPTS
?=
ifeq
($(OFFICIAL),yes)
ifeq
($(OFFICIAL),yes)
DEB_RELEASE
=
1
ppa
DEB_RELEASE
=
$(RELEASE)
ppa
# Sign OFFICIAL builds using 'DEBSIGN_KEYID'
# Sign OFFICIAL builds using 'DEBSIGN_KEYID'
# DEBSIGN_KEYID is required when signing
# DEBSIGN_KEYID is required when signing
ifneq
($(DEBSIGN_KEYID),)
ifneq
($(DEBSIGN_KEYID),)
...
@@ -74,7 +75,7 @@ DEB_DIST ?= unstable
...
@@ -74,7 +75,7 @@ DEB_DIST ?= unstable
RPMSPECDIR
=
packaging/rpm
RPMSPECDIR
=
packaging/rpm
RPMSPEC
=
$(RPMSPECDIR)
/ansible.spec
RPMSPEC
=
$(RPMSPECDIR)
/ansible.spec
RPMDIST
=
$(
shell
rpm
--eval
'%{?dist}'
)
RPMDIST
=
$(
shell
rpm
--eval
'%{?dist}'
)
RPMRELEASE
=
1
RPMRELEASE
=
$(RELEASE)
ifneq
($(OFFICIAL),yes)
ifneq
($(OFFICIAL),yes)
RPMRELEASE
=
0.git
$(DATE)
RPMRELEASE
=
0.git
$(DATE)
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment