[SCM] Wormux PKG branch, master, updated. upstream/0.8.3-55-gf25cf91

Eddy Petrișor eddy.petrisor at gmail.com
Sun Sep 27 23:19:36 UTC 2009


The following commit has been merged in the master branch:
commit a4efa577b9f2a1f5483768124ab72db8d9992423
Author: Eddy Petrișor <eddy.petrisor at gmail.com>
Date:   Mon Sep 28 01:47:35 2009 +0300

    keep the original config.h and pot file even after clean

diff --git a/debian/rules b/debian/rules
index 979eb62..8a225e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,14 @@ srcver = $(shell dpkg-parsechangelog | sed -ne 's/Version: *\(.*:\)\?\(.*\)-.*$$
 
 check-tarball: ../$(srcpkg)_$(srcver).orig.tar.gz
 
+makebuilddir::
+	[ -f src/config.h.clean ] || cp src/config.h src/config.h.clean
+	[ -f po/wormux.pot.clean ] || cp po/wormux.pot po/wormux.pot.clean
+
+clean::
+	[ -f src/config.h.clean ] && mv src/config.h.clean src/config.h || :
+	[ -f po/wormux.pot ] || mv po/wormux.pot.clean po/wormux.pot
+
 .PHONY: check-tarball
 
 #}}}

-- 
Wormux PKG



More information about the Pkg-games-commits mailing list