Author: goneri-guest
Date: 2007-04-16 22:48:37 +0000 (Mon, 16 Apr 2007)
New Revision: 2567

Modified:
   packages/trunk/vdrift-data/debian/rules
Log:
use dh_install and dh_clean, remove license.txt from the data
TODO: some files are released under Creative Commons
Attribution-Non-Commercial-Share Alike 2.5


Modified: packages/trunk/vdrift-data/debian/rules
===================================================================
--- packages/trunk/vdrift-data/debian/rules     2007-04-16 21:53:55 UTC (rev 
2566)
+++ packages/trunk/vdrift-data/debian/rules     2007-04-16 22:48:37 UTC (rev 
2567)
@@ -27,18 +27,17 @@
 clean:
        dh_testdir
        dh_testroot
-       rm -f $(CURDIR)/debian/files
-       rm -Rf $(CURDIR)/debian/vdrift-data
+       dh_clean
        rm -f build-stamp configure-stamp
 
 install: build
+       mkdir -p $(CURDIR)/debian/tmp/usr/share/games/vdrift
+       cp -r data $(CURDIR)/debian/tmp/usr/share/games/vdrift
+       find  $(CURDIR)/debian/tmp/ -name 'SConscript' -type f -prune -exec rm 
-Rf {} \;
+       find  $(CURDIR)/debian/tmp/ -name 'license.txt' -type f -prune -exec rm 
-Rf {} \;
+       find  $(CURDIR)/debian/tmp/ -type f -prune -exec chmod 644 {} \;
+       find  $(CURDIR)/debian/tmp/ -type d -prune -exec chmod 755 {} \;
 
-       dh_installdirs usr/share/games/vdrift
-       cp -r data/* $(CURDIR)/debian/vdrift-data/usr/share/games/vdrift
-       find  $(CURDIR)/debian/vdrift-data/ -name 'SConscript' -type f -prune 
-exec rm -Rf {} \;
-       find  $(CURDIR)/debian/vdrift-data/ -type f -prune -exec chmod 644 {} \;
-       find  $(CURDIR)/debian/vdrift-data/ -type d -prune -exec chmod 755 {} \;
-
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.
@@ -47,6 +46,7 @@
 binary-arch: build install
        dh_testdir
        dh_testroot
+       dh_install
        dh_installchangelogs 
        dh_installdocs
        dh_link


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to