r11688 - packages/trunk/freealut/debian

Peter Pentchev roam-guest at alioth.debian.org
Sun Jan 23 04:10:17 UTC 2011


Author: roam-guest
Date: 2011-01-23 04:08:30 +0000 (Sun, 23 Jan 2011)
New Revision: 11688

Modified:
   packages/trunk/freealut/debian/changelog
   packages/trunk/freealut/debian/rules
Log:
Remove some cruft from the rules file.


Modified: packages/trunk/freealut/debian/changelog
===================================================================
--- packages/trunk/freealut/debian/changelog	2011-01-23 04:00:25 UTC (rev 11687)
+++ packages/trunk/freealut/debian/changelog	2011-01-23 04:08:30 UTC (rev 11688)
@@ -11,6 +11,7 @@
   * Add DEP 3 headers to all the patches.
   * Bump the debhelper compatibility version to 7 and shorten the rules
     file using the dh(1) utility.
+  * Remove some cruft from the rules file.
 
  -- Peter Pentchev <roam at ringlet.net>  Sat, 22 Jan 2011 15:24:20 +0200
 

Modified: packages/trunk/freealut/debian/rules
===================================================================
--- packages/trunk/freealut/debian/rules	2011-01-23 04:00:25 UTC (rev 11687)
+++ packages/trunk/freealut/debian/rules	2011-01-23 04:08:30 UTC (rev 11688)
@@ -1,14 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -17,15 +9,6 @@
 	CFLAGS += -O2
 endif
 
-# shared library versions, option 1
-#version=2.0.5
-#major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-version=`ls src/.libs/lib*.so.* | \
-	awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-major=`ls src/.libs/lib*.so.* | \
-	awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
 build: build-stamp
 build-stamp:
 	dh_testdir




More information about the Pkg-games-commits mailing list