commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 01/01: rules: Add custom version in uname -v and custom packag


From: Samuel Thibault
Subject: [gnumach] 01/01: rules: Add custom version in uname -v and custom packages names.
Date: Thu, 21 Apr 2016 19:17:11 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 2353d62cdd2f4791573ba3268237ca18e77539cb
Author: Svante Signell <address@hidden>
Date:   Thu Apr 21 21:16:55 2016 +0200

    rules: Add custom version in uname -v and custom packages names.
---
 debian/changelog | 2 +-
 debian/rules     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4e134b5..508adff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,7 @@ gnumach (2:1.6+git20160311-2) UNRELEASED; urgency=medium
     now: when ext2fs has a lot of objects, vm_map_enter becomes very slow.
 
   [ Svante Signell ]
-  * rules: Add ".custom" in uname -v.
+  * rules: Add custom version in uname -v and custom packages names.
 
  -- Samuel Thibault <address@hidden>  Fri, 11 Mar 2016 23:21:56 +0000
 
diff --git a/debian/rules b/debian/rules
index 8138a98..0f3e528 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,11 +13,11 @@ MAJOR            := $(shell echo $(VERSION) | sed -e 
's/\..*//g')
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 ifeq (,$(filter custom,$(DEB_BUILD_OPTIONS)))
-VERSION := $(NOGIT_VERSION)
 CUSTOM :=
+VERSION := $(NOGIT_VERSION)
 else
-VERSION := $(NOEPOCH_VERSION)
-CUSTOM := .custom
+CUSTOM := .custom.$(shell date +'%Y%m%d')
+VERSION := $(NOEPOCH_VERSION)$(CUSTOM)
 endif
 
 MACHINE         := 486

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]