[trigger-rally] 26/103: * found out, that trigger.config.defs is a config file (is copied into ~/.trigger/trigger.config) and should reside in /etc. * ORIGTARLOCATION (for get-orig-source) can be predefined now... however the mirror seems to be broken atm :( * added TODO.Debian with some minor points, though nothing urgent needs to be done right now.

Bertrand Marc bbk-guest at moszumanska.debian.org
Sun May 22 12:21:21 UTC 2016


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

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

commit e2c2a989053665fb4593e60187c3dcf529b3c2b2
Author: Stefan Potyra <sistpoty at ubuntu.com>
Date:   Wed Jul 26 16:30:21 2006 +0000

    * found out, that trigger.config.defs is a config file (is copied
      into ~/.trigger/trigger.config) and should reside in /etc.
    * ORIGTARLOCATION (for get-orig-source) can be predefined now...
      however the mirror seems to be broken atm :(
    * added TODO.Debian with some minor points, though nothing urgent
      needs to be done right now.
---
 trigger-data/debian/TODO.Debian |  6 ++++++
 trigger-data/debian/changelog   |  6 +++++-
 trigger-data/debian/dirs        |  1 +
 trigger-data/debian/rules       | 14 +++++++++++---
 4 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/trigger-data/debian/TODO.Debian b/trigger-data/debian/TODO.Debian
new file mode 100644
index 0000000..ebfd53d
--- /dev/null
+++ b/trigger-data/debian/TODO.Debian
@@ -0,0 +1,6 @@
+Minor, maybe with next upstream release of trigger:
+* install data to /usr/share/games/trigger-data
+
+Eventually, see trigger's TODO.Debian as well:
+* have the snowlevel extracted during build (to not 
+  mess up with user installed plugins)
diff --git a/trigger-data/debian/changelog b/trigger-data/debian/changelog
index a512933..7b68600 100644
--- a/trigger-data/debian/changelog
+++ b/trigger-data/debian/changelog
@@ -1,8 +1,12 @@
 trigger-data (0.5.2-2) UNRELEASED; urgency=low
 
+  [ Alexander Schmehl ]
   * NOT RELEASED YET
 
- -- Alexander Schmehl <alex at schmehl.info>  Thu, 20 Jul 2006 18:34:47 +0200
+  [ Stefan Potyra ]
+  * Move trigger.config.defs to /etc, since it's a config file.
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Wed, 26 Jul 2006 17:10:14 +0200
 
 trigger-data (0.5.2-1) unstable; urgency=low
 
diff --git a/trigger-data/debian/dirs b/trigger-data/debian/dirs
index 2a81348..61e88b9 100644
--- a/trigger-data/debian/dirs
+++ b/trigger-data/debian/dirs
@@ -1 +1,2 @@
 /usr/share/trigger-data
+/etc
diff --git a/trigger-data/debian/rules b/trigger-data/debian/rules
index 2117c44..bc06471 100755
--- a/trigger-data/debian/rules
+++ b/trigger-data/debian/rules
@@ -19,8 +19,11 @@ INSTALLDIRS=events\
 	vehicles
 
 # top-level files that are installed
-INSTALLFILES=crap.obj\
-	trigger.config.defs
+# FIXME is this needed?
+INSTALLFILES=crap.obj
+# top-level files that go to /etc and are linked to 
+# DATADIR
+LINKEDCONFFILES=trigger.config.defs
 
 clean:
 	dh_testdir
@@ -40,6 +43,11 @@ install:
 	for i in $(INSTALLDIRS); do\
 		cp -r $$i debian/$(PACKAGE)/$(DATADIR); \
 	done
+	for i in $(LINKEDCONFFILES); do\
+		cp -r $$i debian/$(PACKAGE)/etc; \
+		dh_link etc/$$i $(DATADIR)/$$i; \
+	done
+
 
 binary-arch: build install
 
@@ -62,7 +70,7 @@ build:
 #
 # directory where the .orig.tar.gz should reside... either relative to
 # top-src-dir or an absolute path.
-ORIGTARLOCATION=../tarballs/
+ORIGTARLOCATION ?= ../tarballs/
 get-orig-source:
 	UPSTREAMURL=$(shell uscan --dehs | grep upstream-url | cut -f 2 -d\> | cut -f 1 -d\<);\
 	UPSTREAMVERSION=$(shell uscan --dehs | grep debian-mangled-uversion | cut -f 2 -d\> | cut -f 1 -d\<);\

-- 
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