[simutrans] 01/01: Rewrite d/rules

Jörg Frings-Fürst jff-guest at moszumanska.debian.org
Sun Jun 7 13:55:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

jff-guest pushed a commit to branch master
in repository simutrans.

commit 16d0711a11100e43d16b5718269275d8f4a6c80b
Author: Jörg Frings-Fürst <debian at jff-webhosting.net>
Date:   Sun Jun 7 15:55:19 2015 +0200

    Rewrite d/rules
---
 debian/rules | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 293fa8d..2c3ecf1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,7 @@ export CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS)
 export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
 export LDFLAGS  = $(shell dpkg-buildflags --get LDFLAGS)
 
-TARGETS := binary binary-arch binary-indep build build-arch build-indep clean
-.PHONY: $(TARGETS)
-$(TARGETS):
+%:
 	dh $@ --parallel
 
 override_dh_auto_build:
@@ -30,13 +28,13 @@ override_dh_auto_clean:
 	$(RM) -r build
 
 # These languages will be excluded
-#BROKEN_LANG = ce cn id tr
+BROKEN_LANG =
 
 override_dh_install:
 	dh_install
 	install -m 755 build/default/sim $(CURDIR)/debian/simutrans/usr/games/simutrans
 	for lang in $(BROKEN_LANG); do \
-	  $(RM) $(CURDIR)/debian/simutrans-data/usr/share/games/simutrans/text/$$lang.tab ; \
+	    $(RM) $(CURDIR)/debian/simutrans-data/usr/share/games/simutrans/text/$$lang.tab ; \
 	done
 
 override_dh_installchangelogs:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/simutrans.git



More information about the Pkg-games-commits mailing list