r393 - in /packages/flasm/trunk/debian: changelog compat control rules

pabs at users.alioth.debian.org pabs at users.alioth.debian.org
Tue Jul 27 19:02:25 UTC 2010


Author: pabs
Date: Tue Jul 27 19:02:14 2010
New Revision: 393

URL: http://svn.debian.org/wsvn/?sc=1&rev=393
Log:
Switch to debhelper 7 dh build rules

Modified:
    packages/flasm/trunk/debian/changelog
    packages/flasm/trunk/debian/compat
    packages/flasm/trunk/debian/control
    packages/flasm/trunk/debian/rules

Modified: packages/flasm/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/changelog?rev=393&op=diff
==============================================================================
--- packages/flasm/trunk/debian/changelog (original)
+++ packages/flasm/trunk/debian/changelog Tue Jul 27 19:02:14 2010
@@ -1,6 +1,7 @@
 flasm (1.62-5) UNRELEASED; urgency=low
 
   * Switch to dpkg-source 3.0 (quilt)
+  * Switch to debhelper 7 dh build rules
 
  -- Paul Wise <pabs at debian.org>  Tue, 27 Jul 2010 13:43:10 -0400
 

Modified: packages/flasm/trunk/debian/compat
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/compat?rev=393&op=diff
==============================================================================
--- packages/flasm/trunk/debian/compat (original)
+++ packages/flasm/trunk/debian/compat Tue Jul 27 19:02:14 2010
@@ -1,1 +1,1 @@
-5
+7

Modified: packages/flasm/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/control?rev=393&op=diff
==============================================================================
--- packages/flasm/trunk/debian/control (original)
+++ packages/flasm/trunk/debian/control Tue Jul 27 19:02:14 2010
@@ -2,7 +2,7 @@
 Section: utils
 Priority: extra
 Maintainer: Paul Wise <pabs at debian.org>
-Build-Depends: debhelper (>= 5.0.0), flex, bison, gperf, zlib1g-dev
+Build-Depends: debhelper (>= 7.0.50~), flex, bison, gperf, zlib1g-dev
 Standards-Version: 3.8.2
 Homepage: http://flasm.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-flash/packages/flasm/trunk

Modified: packages/flasm/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/rules?rev=393&op=diff
==============================================================================
--- packages/flasm/trunk/debian/rules (original)
+++ packages/flasm/trunk/debian/rules Tue Jul 27 19:02:14 2010
@@ -2,56 +2,13 @@
 
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g -DCONFIG_PATH=\\\"/etc/flasm.ini\\\"
+%:
+	dh $@ --parallel
 
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+override_dh_auto_build:
+	$(MAKE) CFLAGS="$(CFLAGS) -Wall -DCONFIG_PATH=\\\"/etc/flasm.ini\\\""
+	cp CHANGES.TXT NEWS
 
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	MAKEFLAGS += -j$(NUMJOBS)
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE) CFLAGS="$(CFLAGS)"
-	cp CHANGES.TXT NEWS
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f build-stamp NEWS keywords.c flasm
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	dh_install
-
-binary-indep: build install
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f NEWS keywords.c flasm




More information about the pkg-flash-devel mailing list