[SCM] templates for different package types branch, master, updated. ed26c3aa7f2478ce7bf324e6b180cf30f57649ee

Miriam Ruiz miriam at debian.org
Thu Feb 11 07:28:31 UTC 2010


The following commit has been merged in the master branch:
commit ed26c3aa7f2478ce7bf324e6b180cf30f57649ee
Author: Miriam Ruiz <miriam at debian.org>
Date:   Thu Feb 11 08:28:34 2010 +0100

    Upgraded Standards-Version to 3.8.4
    Support out-of-the-box conversion from .sng to .png in debian/pixmaps/

diff --git a/model/autotools-lib/control b/model/autotools-lib/control
index 1758351..23e7470 100644
--- a/model/autotools-lib/control
+++ b/model/autotools-lib/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo, autotools-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: lib%PACKAGE%-dev
diff --git a/model/autotools-lib/rules b/model/autotools-lib/rules
index 106ea90..2205ba3 100644
--- a/model/autotools-lib/rules
+++ b/model/autotools-lib/rules
@@ -26,6 +26,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 	cp -f /usr/share/misc/config.sub config.sub
 endif
@@ -54,7 +55,8 @@ clean: config
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f config.sub config.guess config.cache config.log
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/autotools/control b/model/autotools/control
index ff775e9..90b19b0 100644
--- a/model/autotools/control
+++ b/model/autotools/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo, autotools-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/autotools/rules b/model/autotools/rules
index 1fa3c6c..637a483 100644
--- a/model/autotools/rules
+++ b/model/autotools/rules
@@ -17,6 +17,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 	cp -f /usr/share/misc/config.sub config.sub
 endif
@@ -45,7 +46,8 @@ clean: config
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f config.sub config.guess config.cache config.log
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/c-exe/control b/model/c-exe/control
index 773acf7..15f6f1b 100644
--- a/model/c-exe/control
+++ b/model/c-exe/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo, autotools-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/c-exe/rules b/model/c-exe/rules
index f164f93..8da2e2a 100755
--- a/model/c-exe/rules
+++ b/model/c-exe/rules
@@ -7,6 +7,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	touch $@
 
 build: build-stamp
@@ -23,7 +24,8 @@ clean: config
 	rm -f build-stamp config-stamp
 	$(MAKE) -f debian/Makefile clean
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/c-lib/control b/model/c-lib/control
index 1758351..23e7470 100644
--- a/model/c-lib/control
+++ b/model/c-lib/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo, autotools-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: lib%PACKAGE%-dev
diff --git a/model/c-lib/rules b/model/c-lib/rules
index 9ae853c..802b5e8 100755
--- a/model/c-lib/rules
+++ b/model/c-lib/rules
@@ -7,6 +7,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	touch $@
 
 build: build-stamp
@@ -23,7 +24,8 @@ clean: config
 	rm -f build-stamp config-stamp
 	$(MAKE) -f debian/Makefile clean
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/cmake-lib/control b/model/cmake-lib/control
index 912f70e..71f6447 100644
--- a/model/cmake-lib/control
+++ b/model/cmake-lib/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), cmake, dh-buildinfo
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: lib%PACKAGE%-dev
diff --git a/model/cmake-lib/rules b/model/cmake-lib/rules
index 9071cb0..adf610b 100644
--- a/model/cmake-lib/rules
+++ b/model/cmake-lib/rules
@@ -9,6 +9,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	# Perform an out-of-tree build to keep a clean source tree
 	mkdir $(BUILD_TREE)
 	cd $(BUILD_TREE); cmake $(CURDIR)/ \
@@ -34,7 +35,8 @@ clean:
 	rm -f build-stamp config-stamp
 	rm -fr $(BUILD_TREE)
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/cmake/control b/model/cmake/control
index 087baa0..7af702f 100644
--- a/model/cmake/control
+++ b/model/cmake/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), cmake, dh-buildinfo
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/cmake/rules b/model/cmake/rules
index 39496a5..b986c44 100644
--- a/model/cmake/rules
+++ b/model/cmake/rules
@@ -9,6 +9,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	# Perform an out-of-tree build to keep a clean source tree
 	mkdir $(BUILD_TREE)
 	cd $(BUILD_TREE); cmake $(CURDIR)/ \
@@ -34,7 +35,8 @@ clean:
 	rm -f build-stamp config-stamp
 	rm -fr $(BUILD_TREE)
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/makefile/control b/model/makefile/control
index cd7321a..1711507 100644
--- a/model/makefile/control
+++ b/model/makefile/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/makefile/rules b/model/makefile/rules
index 64751a2..7142ead 100644
--- a/model/makefile/rules
+++ b/model/makefile/rules
@@ -7,6 +7,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	touch $@
 
 build: build-stamp
@@ -23,7 +24,8 @@ clean:
 	rm -f build-stamp config-stamp
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/pymodule/control b/model/pymodule/control
index 3f8f8a3..587d014 100644
--- a/model/pymodule/control
+++ b/model/pymodule/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo, \
  python-all-dev, python-support, python-setuptools
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: python-%PACKAGE%
diff --git a/model/pymodule/rules b/model/pymodule/rules
index 321f25f..ee566ad 100644
--- a/model/pymodule/rules
+++ b/model/pymodule/rules
@@ -8,6 +8,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	touch $@
 
 build: $(PYVERS:%=build-python%)
@@ -23,7 +24,8 @@ clean: unpatch
 	rm -f config-stamp build-python?.* install-python?.*
 	rm -rf build
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build $(PYVERS:%=install-python%)
 
diff --git a/model/python/control b/model/python/control
index 569116a..a83ed29 100644
--- a/model/python/control
+++ b/model/python/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), dh-buildinfo
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/python/rules b/model/python/rules
index 05491ca..3e6a2b6 100644
--- a/model/python/rules
+++ b/model/python/rules
@@ -7,6 +7,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	[ ! -d debian/pixmaps ] || { cd debian/pixmaps && for i in *.sng; do sng "$$i"; done; }
 	touch $@
 
 build: build-stamp
@@ -20,7 +21,8 @@ clean:
 	rm -f build-stamp config-stamp
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir
diff --git a/model/scons/control b/model/scons/control
index 628e959..ed4028c 100644
--- a/model/scons/control
+++ b/model/scons/control
@@ -3,7 +3,7 @@ Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
 Build-Depends: debhelper (>= 7), scons, dh-buildinfo
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: URL://HOMEPAGE
 
 Package: %PACKAGE%
diff --git a/model/scons/rules b/model/scons/rules
index 8084a56..e611513 100644
--- a/model/scons/rules
+++ b/model/scons/rules
@@ -27,7 +27,8 @@ clean:
 	rm -f config.log options.cache
 	rm -rf .sconf_temp build
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean 
+	[ ! -d debian/pixmaps ] || rm -vf debian/pixmaps/*.png
+	dh_clean
 
 install: build
 	dh_testdir

-- 
templates for different package types



More information about the Pkg-games-commits mailing list