Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
ca5bb72d14ae
Commit
ca5bb72d
authored
Aug 31, 2012
by
Pierre-Yves David
Browse files
pkg: abstract version in makefile
parent
3859f8e7d0d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ca5bb72d
PYTHON
=
python
HG
=
`
which hg
`
VERSION
=
$(
shell
python setup.py
--version
)
help
:
@
echo
'Commonly used make targets:'
...
...
@@ -26,11 +28,11 @@
deb-prepare
:
python setup.py sdist
--dist-dir
..
mv
-f
../hg-evolve-
1.0.0
.tar.gz ../mercurial-evolve_
1.0.0
.orig.tar.gz
tar
xf ../mercurial-evolve_
1.0.0
.orig.tar.gz
rm
-rf
../mercurial-evolve_
1.0.0
.orig
mv
hg-evolve-
1.0.0
../mercurial-evolve_
1.0.0
.orig
cp
-r
debian/ ../mercurial-evolve_
1.0.0
.orig/
@
cd
../mercurial-evolve_
1.0.0
.orig
&&
echo
'debian build directory ready at'
`
pwd
`
mv
-f
../hg-evolve-
$(VERSION)
.tar.gz ../mercurial-evolve_
$(VERSION)
.orig.tar.gz
tar
xf ../mercurial-evolve_
$(VERSION)
.orig.tar.gz
rm
-rf
../mercurial-evolve_
$(VERSION)
.orig
mv
hg-evolve-
$(VERSION)
../mercurial-evolve_
$(VERSION)
.orig
cp
-r
debian/ ../mercurial-evolve_
$(VERSION)
.orig/
@
cd
../mercurial-evolve_
$(VERSION)
.orig
&&
echo
'debian build directory ready at'
`
pwd
`
.PHONY
:
tests all-version-tests
Write
Preview
Supports
Markdown
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