[Pkg-gnupg-commit] r153 - /gpa/trunk/debian/rules

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Wed Sep 9 19:48:28 UTC 2009


Author: dleidert-guest
Date: Wed Sep  9 19:48:27 2009
New Revision: 153

URL: http://svn.debian.org/wsvn/pkg-gnupg/?sc=1&rev=153
Log:
* debian/rules: Added -Wl,--as-needed to linker flags.
  (binary-arch): Added dh_install.


Modified:
    gpa/trunk/debian/rules

Modified: gpa/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnupg/gpa/trunk/debian/rules?rev=153&op=diff
==============================================================================
--- gpa/trunk/debian/rules (original)
+++ gpa/trunk/debian/rules Wed Sep  9 19:48:27 2009
@@ -5,6 +5,8 @@
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+LDFLAGS += -Wl,--as-needed
 
 config.status: configure
 	dh_testdir
@@ -17,7 +19,8 @@
 	    --build=$(DEB_BUILD_GNU_TYPE) \
 	    --prefix=/usr \
 	    --mandir=\$${prefix}/share/man \
-	    --infodir=\$${prefix}/share/info
+	    --infodir=\$${prefix}/share/info \
+	    LDFLAGS="$(LDFLAGS)"
 
 build: build-stamp
 build-stamp: config.status
@@ -42,10 +45,11 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
+	dh_installchangelogs NEWS
+	dh_install
 	dh_installdocs
+	dh_installman
 	dh_installmenu
-	dh_installman
-	dh_installchangelogs NEWS
 	dh_link
 	dh_strip
 	dh_compress




More information about the Pkg-gnupg-commit mailing list