[trigger-rally] 07/14: Update debian/rules to match the new upstream tree and the new buildsystem.

Bertrand Marc bmarc at moszumanska.debian.org
Wed Aug 31 13:44:33 UTC 2016


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

bmarc pushed a commit to branch master
in repository trigger-rally.

commit 7d8d506306c5e2cfbb51d4b4025c960419d83523
Author: Bertrand Marc <bmarc at debian.org>
Date:   Wed Aug 31 10:09:43 2016 +0200

    Update debian/rules to match the new upstream tree and the new buildsystem.
---
 debian/rules | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index cc7983a..0ff3f81 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,28 +7,23 @@
 DATAPACKAGE=trigger-rally-data
 DATADIR=usr/share/games/trigger-rally
 
+# define user-set variables:
+export prefix=/usr
+
 # what manpages to build?
 MANPAGES=debian/trigger-rally.6
 
 %:
-	dh $@ --with autotools-dev
+	dh $@ -D src/
 
 # rule to build manpages
 $(MANPAGES): $(addsuffix .sgml,$(MANPAGES))
 	docbook-to-man $< > $@
 
-override_dh_auto_configure:
-	./autogen.sh
-	dh_auto_configure -- --datadir=$(DATADIR)
-
-override_dh_auto_build:
-	jam
-
 override_dh_installman: $(MANPAGES)
 	dh_installman $(MANPAGES)
 
 override_dh_auto_clean:
-	if [ -f Jamconfig ]; then jam distclean; fi
 	$(RM) $(MANPAGES)
-	dh_auto_clean
+	dh_auto_clean $@
 

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



More information about the Pkg-games-commits mailing list