r7028 - packages/trunk/fretsonfire/debian

Miriam Ruiz miriam at alioth.debian.org
Thu May 15 08:44:04 UTC 2008


Author: miriam
Date: 2008-05-15 08:44:04 +0000 (Thu, 15 May 2008)
New Revision: 7028

Modified:
   packages/trunk/fretsonfire/debian/changelog
   packages/trunk/fretsonfire/debian/rules
Log:
Added check in debian/rules to make sure that the images have been
succeccfully converted from svg to png files.



Modified: packages/trunk/fretsonfire/debian/changelog
===================================================================
--- packages/trunk/fretsonfire/debian/changelog	2008-05-15 07:43:17 UTC (rev 7027)
+++ packages/trunk/fretsonfire/debian/changelog	2008-05-15 08:44:04 UTC (rev 7028)
@@ -8,6 +8,8 @@
   * Added call to dh_desktop in debian/rules.
   * Added "DM-Upload-Allowed: yes" to debian/control.
   * Added optimization for PNG images.
+  * Added check in debian/rules to make sure that the images have been
+    succeccfully converted from svg to png files.
 
   [ Matthew Johnson ]
   * Correct obvious inaccuracies in man page.

Modified: packages/trunk/fretsonfire/debian/rules
===================================================================
--- packages/trunk/fretsonfire/debian/rules	2008-05-15 07:43:17 UTC (rev 7027)
+++ packages/trunk/fretsonfire/debian/rules	2008-05-15 08:44:04 UTC (rev 7028)
@@ -25,6 +25,8 @@
 	#$(MAKE) -f Makefile.unix dist USE_AMANITH=0
 	docbook-to-man debian/fretsonfire.sgml > fretsonfire.6
 	cd data; python ../src/svg2png.py
+	find data -name "*.svg" | sed -e "s/.svg$$/.png/" | while read l; do if ! test -f "$$l"; then echo "Missing $$l"; exit 1; fi; done
+
 	# rename and mode these here so that dh_install can do it's magic
 	cp debian/fretsonfire.sh fretsonfire
 	chmod 755 fretsonfire




More information about the Pkg-games-commits mailing list