[Pkg-sdl-commits] [libsdl2-net] 01/01: Use := in rules to define variables, so they are not expanded recursively (see Make variables)

Manuel A. Fernandez Montecelo mafm at alioth.debian.org
Sat Oct 19 15:44:20 UTC 2013


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

mafm pushed a commit to branch master
in repository libsdl2-net.

commit 1787b8b12e3b6adcadca2fb568f94469ff1ed4cd
Author: Manuel A. Fernandez Montecelo <mafm at debian.org>
Date:   Sat Oct 19 16:41:48 2013 +0100

    Use := in rules to define variables, so they are not expanded recursively (see Make variables)
---
 debian/rules |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 89045f9..e9b05e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,16 +2,16 @@
 
 #export DH_VERBOSE=1
 
-export DEB_CFLAGS_MAINT_APPEND  = -pipe -Wall
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_CFLAGS_MAINT_APPEND  := -pipe -Wall
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-SHLIBVER = 2.0.0
+SHLIBVER := 2.0.0
 
 
 # according to help: speeds up one-time build
-confflags = --disable-dependency-tracking
+confflags := --disable-dependency-tracking
 # GUI needed only for examples, don't even try to support it
 confflags += --disable-gui
 
@@ -32,7 +32,7 @@ override_dh_installchangelogs:
 	dh_installchangelogs -- CHANGES.txt
 
 override_dh_link:
-	# fix lintian warning dev-pkg-without-shlib-symlink
+        # fix lintian warning dev-pkg-without-shlib-symlink
 	dh_link -plibsdl2-net-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_net-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_net-2.0.so
 	dh_link --remaining-packages
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2-net.git



More information about the pkg-sdl-commits mailing list