Michael Kuhn wrote:

> I guess this was just to get the correct (build) output in the about
> screen -- otherwise it says “Built on Ubuntu wheezy/sid”. :-)

I see.  Maybe the following would be sensible.  Or maybe hard-code
"Debian" like /usr/bin/chromium does.

diff --git i/debian/rules w/debian/rules
index cc4981d2..83cf7a4e 100755
--- i/debian/rules
+++ w/debian/rules
@@ -6,7 +6,11 @@ DEBIAN_UPSTREAM_VERSION        := $(shell echo 
$(DEBIAN_VERSION) | sed 's/^\(.*\)-[^-]*
 DEBIAN_REVISION                := $(shell echo $(DEBIAN_VERSION) | sed 
's/^.*r\([^-]*\)-.*/\1/')
 DEBIAN_DIST            := $(shell lsb_release -ds | tr -d '()')
 DEBIAN_DIST_NAME       := $(shell lsb_release -si)
+ifeq (Debian,$(DEBIAN_DIST_NAME))
 DEBIAN_DIST_VERSION    := $(shell cat /etc/debian_version)
+else
+DEBIAN_DIST_VERSION    := $(shell lsb_release -sr)
+endif
 MULTIARCH              := $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
 USE_SYSTEM_FFMPEG      := 1
 ifeq (1,$(USE_SYSTEM_FFMPEG))



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to