[mapserver] 05/08: Add whitespace for more readable variables.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jul 24 11:14:03 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository mapserver.

commit 69cab50f426045c1378bbc8d13860b33b5f27680
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jul 24 11:43:37 2015 +0200

    Add whitespace for more readable variables.
---
 debian/rules | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index 103afe7..27759bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,23 +12,24 @@ export DH_OPTIONS
 #  pie: causes build failure
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
-DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS   := $(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
 
-CFLAGS+=$(CPPFLAGS)
-CFLAGS+=$(LDFLAGS)
+CFLAGS += $(CPPFLAGS)
+CFLAGS += $(LDFLAGS)
 
-RUBYVERSIONS=$(shell dh_ruby --print-supported)
-PHP5API=$(shell php-config5 --phpapi)
-MANPAGES:=$(wildcard debian/man/*.*.xml)
+RUBYVERSIONS := $(shell dh_ruby --print-supported)
+PHP5API      := $(shell php-config5 --phpapi)
 
-MS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
-BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
+MANPAGES := $(wildcard debian/man/*.*.xml)
 
-CMAKE_OPTS:= \
+MS_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+BUILD_DATE := $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
+
+CMAKE_OPTS := \
 		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
 		-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
 		-DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \

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



More information about the Pkg-grass-devel mailing list