From: Thierry Parmentelat Date: Thu, 2 May 2013 09:25:03 +0000 (+0200) Subject: use new names when debian building X-Git-Tag: sfa-3.0-1~86 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=350c288773f0038d24ac375a35aeda7b513b4917 use new names when debian building --- diff --git a/Makefile.debian b/Makefile.debian index 031f5475..c4afb771 100644 --- a/Makefile.debian +++ b/Makefile.debian @@ -1,15 +1,16 @@ -# Warning, this is called from the build with the following variables set +# This is called from the build with the following variables set # (see build/Makefile and target_debian) -# (.) TARBALL -# (.) VERSION -# (.) RELEASE -# (.) NAME +# (.) RPMTARBALL +# (.) RPMVERSION +# (.) RPMRELEASE +# (.) RPMNAME # -PROJECT=$(NAME) +PROJECT=$(RPMNAME) #PYVERSION=$(shell python -c "from sfa.util.version import version_tag; print version_tag" | sed -e s,-,.,) -DEBVERSION=$(VERSION).$(RELEASE) +DEBVERSION=$(RPMVERSION).$(RPMRELEASE) +DEBTARBALL=../$(PROJECT)_$(DEBVERSION).orig.tar.bz2 + DATE=$(shell date -u +"%a, %d %b %Y %T") -DEBIAN_TARBALL=../$(PROJECT)_$(VERSION).orig.tar.bz2 debian: debian/changelog debian.source debian.package @@ -20,7 +21,7 @@ debian/changelog: debian/changelog.in # TARBALL is passed from the main build (/build/Makefile) to the 'make debian' call debian.source: force - rsync -a $(TARBALL) $(DEBIAN_TARBALL) + rsync -a $(RPMTARBALL) $(DEBTARBALL) debian.package: debuild -uc -us -b