From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Fri, 3 May 2013 16:04:15 +0000 (+0200)
Subject: pkg-deb ctd
X-Git-Tag: myslice-0.2-1~135
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8f53b9c01aec0d3a783b17b1752a72ad621a2868;p=unfold.git

pkg-deb ctd
---

diff --git a/Makefile b/Makefile
index de9b7db2..781a85d0 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,18 @@ install:
 	    --install-data=$(DESTDIR)/$(datadir)/myslice
 
 ####################
+# general stuff
+DATE=$(shell date -u +"%a, %d %b %Y %T")
+
+# This is called from the build with the following variables set 
+# (see build/Makefile and target_debian)
+# (.) RPMTARBALL
+# (.) RPMVERSION
+# (.) RPMRELEASE
+# (.) RPMNAME
+DEBVERSION=$(RPMVERSION).$(RPMRELEASE)
+DEBTARBALL=../$(RPMNAME)_$(DEBVERSION).orig.tar.bz2
+
 debian: static templates debian/changelog debian.source debian.package
 
 debian/changelog: debian/changelog.in