r13309 - software/thumbnails/debian

Paul Wise pabs at alioth.debian.org
Mon Feb 27 04:36:48 UTC 2012


Author: pabs
Date: 2012-02-27 04:36:47 +0000 (Mon, 27 Feb 2012)
New Revision: 13309

Added:
   software/thumbnails/debian/clean
Modified:
   software/thumbnails/debian/changelog
   software/thumbnails/debian/rules
Log:
Switch to debhelper 7 rules.tiny style

Modified: software/thumbnails/debian/changelog
===================================================================
--- software/thumbnails/debian/changelog	2012-02-27 04:08:40 UTC (rev 13308)
+++ software/thumbnails/debian/changelog	2012-02-27 04:36:47 UTC (rev 13309)
@@ -13,6 +13,7 @@
   * Choose dpkg-source format 1.0
   * Point at the new location of the copyright format spec
     - now compliant with new Standards-Version
+  * Switch to debhelper 7 rules.tiny style
 
  -- Petter Reinholdtsen <pere at debian.org>  Sun, 26 Feb 2012 23:45:16 +0100
 

Added: software/thumbnails/debian/clean
===================================================================
--- software/thumbnails/debian/clean	                        (rev 0)
+++ software/thumbnails/debian/clean	2012-02-27 04:36:47 UTC (rev 13309)
@@ -0,0 +1 @@
+*.png

Modified: software/thumbnails/debian/rules
===================================================================
--- software/thumbnails/debian/rules	2012-02-27 04:08:40 UTC (rev 13308)
+++ software/thumbnails/debian/rules	2012-02-27 04:36:47 UTC (rev 13309)
@@ -1,32 +1,10 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch $@
+%:
+	dh $@ --parallel
 
-build: build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
-	cp games-thumbnails/thumbs/*.png .
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	rm -f *.png
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
 INPUTPNG := $(wildcard *png)
 INPUTJPG := $(wildcard *jpg)
 
@@ -48,27 +26,8 @@
 	jpegoptim -q $@
 endif
 
-crunchedpics: $(OUTPUTJPG) $(OUTPUTPNG)
+override_dh_auto_build: $(OUTPUTJPG) $(OUTPUTPNG)
+	cp games-thumbnails/thumbs/*.png .
 
-# Build architecture-independent files here.
-binary-indep: build install crunchedpics
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs -i
-	dh_installdocs -i
-	dh_link
-	dh_compress -i
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-
 get-orig-source:
 	./fetch-thumbnails
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure crunchedpics




More information about the Pkg-games-commits mailing list