git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c5310c
)
attempt to get the sfa debian build to work again
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 2 May 2013 08:40:30 +0000
(10:40 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 2 May 2013 10:58:49 +0000
(12:58 +0200)
Makefile.debian
patch
|
blob
|
history
diff --git
a/Makefile.debian
b/Makefile.debian
index
4ac9c58
..
031f547
100644
(file)
--- a/
Makefile.debian
+++ b/
Makefile.debian
@@
-1,5
+1,13
@@
-PROJECT=sfa
-VERSION=$(shell python -c "from sfa.util.version import version_tag; print version_tag" | sed -e s,-,.,)
+# Warning, this is called from the build with the following variables set
+# (see build/Makefile and target_debian)
+# (.) TARBALL
+# (.) VERSION
+# (.) RELEASE
+# (.) NAME
+#
+PROJECT=$(NAME)
+#PYVERSION=$(shell python -c "from sfa.util.version import version_tag; print version_tag" | sed -e s,-,.,)
+DEBVERSION=$(VERSION).$(RELEASE)
DATE=$(shell date -u +"%a, %d %b %Y %T")
DEBIAN_TARBALL=../$(PROJECT)_$(VERSION).orig.tar.bz2
DATE=$(shell date -u +"%a, %d %b %Y %T")
DEBIAN_TARBALL=../$(PROJECT)_$(VERSION).orig.tar.bz2
@@
-8,7
+16,7
@@
debian: debian/changelog debian.source debian.package
force:
debian/changelog: debian/changelog.in
force:
debian/changelog: debian/changelog.in
- sed -e "s|@VERSION@|$(VERSION)|" -e "s|@DATE@|$(DATE)|" debian/changelog.in > debian/changelog
+ sed -e "s|@VERSION@|$(
DEB
VERSION)|" -e "s|@DATE@|$(DATE)|" debian/changelog.in > debian/changelog
# TARBALL is passed from the main build (/build/Makefile) to the 'make debian' call
debian.source: force
# TARBALL is passed from the main build (/build/Makefile) to the 'make debian' call
debian.source: force