[redeclipse-data] 06/06: Fix installation paths of maps and textures.
Markus Koschany
apo at moszumanska.debian.org
Sat Jan 21 23:19:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository redeclipse-data.
commit e3703e91b24069a2046e726c1b7d7548e85eb994
Author: Markus Koschany <apo at debian.org>
Date: Sat Jan 21 21:01:50 2017 +0100
Fix installation paths of maps and textures.
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6662d9a..929b3a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,9 +14,12 @@ override_dh_auto_build:
override_dh_auto_install:
mkdir -p debian/redeclipse-data/usr/share/games/redeclipse/data
- find . -mindepth 1 -maxdepth 1 -type d \
+ find data -mindepth 1 -maxdepth 1 -type d \
-not \( -name '.git*' -or -name '.pc*' -or -name 'debian' -or -name 'fonts' \) \
-exec cp -r '{}' debian/redeclipse-data/usr/share/games/redeclipse/data \;
+ find . -mindepth 1 -maxdepth 1 -type d \
+ -not \( -name '.git*' -or -name '.pc*' -or -name 'debian' -or -name 'fonts' -or -name 'data' \) \
+ -exec cp -r '{}' debian/redeclipse-data/usr/share/games/redeclipse/data \;
# Delete hidden .git directories that could not be found due to maxdepth 1
find $(CURDIR)/debian/redeclipse-data -type d -name '.[^.]*' -prune -exec rm -rf {} \;
find $(CURDIR)/debian/redeclipse-data/usr/share/games/redeclipse/data -name '.git*' -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse-data.git
More information about the Pkg-games-commits
mailing list