pkg-deb ctd
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 3 May 2013 16:04:15 +0000 (18:04 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 3 May 2013 16:04:15 +0000 (18:04 +0200)
Makefile

index de9b7db..781a85d 100644 (file)
--- 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