Author: ryan52-guest
Date: 2009-02-15 22:39:14 +0000 (Sun, 15 Feb 2009)
New Revision: 8829

Added:
   packages/trunk/pente/debian/clean
   packages/trunk/pente/debian/compat
   packages/trunk/pente/debian/docs
   packages/trunk/pente/debian/install
   packages/trunk/pente/debian/manpages
Modified:
   packages/trunk/pente/debian/changelog
   packages/trunk/pente/debian/rules
Log:
redo debian/rules

Modified: packages/trunk/pente/debian/changelog
===================================================================
--- packages/trunk/pente/debian/changelog       2009-02-15 22:30:31 UTC (rev 
8828)
+++ packages/trunk/pente/debian/changelog       2009-02-15 22:39:14 UTC (rev 
8829)
@@ -5,8 +5,9 @@
     #515453)
   * use Homepage field instead of long description
   * debhelper 7
+  * redo debian/rules
 
- -- Ryan Niebur <[email protected]>  Sun, 15 Feb 2009 14:19:47 -0800
+ -- Ryan Niebur <[email protected]>  Sun, 15 Feb 2009 14:38:46 -0800
 
 pente (2.2.5-5.1) unstable; urgency=high
 

Added: packages/trunk/pente/debian/clean
===================================================================
--- packages/trunk/pente/debian/clean                           (rev 0)
+++ packages/trunk/pente/debian/clean   2009-02-15 22:39:14 UTC (rev 8829)
@@ -0,0 +1,6 @@
+Makefile
+pente
+pente-*-Linux
+Makefile-*-Linux
+config.*
+

Added: packages/trunk/pente/debian/compat
===================================================================
--- packages/trunk/pente/debian/compat                          (rev 0)
+++ packages/trunk/pente/debian/compat  2009-02-15 22:39:14 UTC (rev 8829)
@@ -0,0 +1 @@
+7

Added: packages/trunk/pente/debian/docs
===================================================================
--- packages/trunk/pente/debian/docs                            (rev 0)
+++ packages/trunk/pente/debian/docs    2009-02-15 22:39:14 UTC (rev 8829)
@@ -0,0 +1 @@
+README

Added: packages/trunk/pente/debian/install
===================================================================
--- packages/trunk/pente/debian/install                         (rev 0)
+++ packages/trunk/pente/debian/install 2009-02-15 22:39:14 UTC (rev 8829)
@@ -0,0 +1 @@
+pente usr/bin/

Added: packages/trunk/pente/debian/manpages
===================================================================
--- packages/trunk/pente/debian/manpages                                (rev 0)
+++ packages/trunk/pente/debian/manpages        2009-02-15 22:39:14 UTC (rev 
8829)
@@ -0,0 +1 @@
+man6/pente.6

Modified: packages/trunk/pente/debian/rules
===================================================================
--- packages/trunk/pente/debian/rules   2009-02-15 22:30:31 UTC (rev 8828)
+++ packages/trunk/pente/debian/rules   2009-02-15 22:39:14 UTC (rev 8829)
@@ -1,56 +1,26 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# This file is public domain software, originally written by Joey Hess. 
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 build: build-stamp
 build-stamp:
-       dh_testdir
-
-       ./configure
-       $(MAKE)
-
+       dh build
        touch build-stamp
 
 clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp
+       rm -fr obj-*-Linux
+       dh clean
 
-       -$(MAKE) -i clean
-       -rm -rf obj-*-Linux
-       dh_clean Makefile pente pente-*-Linux Makefile-*-Linux config.*
-
 install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs usr/games usr/share/man/man6
+       dh --before dh_auto_install install
+       # it ignores DESTDIR, so lets just do it ourselves
+       mv pente pente.old
+       cp $(shell readlink -f pente) pente
+       dh --after dh_auto_install install
+       mv pente.old pente
 
-       install pente debian/pente/usr/games
-
-# Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
 
-# Build architecture-dependent files here.
 binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs README
-       dh_installmenu
-       dh_installman man6/pente.6
-       dh_installchangelogs -k README
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+       dh binary-arch
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install


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

Reply via email to