Author: ceros-guest
Date: 2008-01-17 18:19:46 +0000 (Thu, 17 Jan 2008)
New Revision: 5434

Modified:
   packages/trunk/ogreal/debian/rules
Log:
Fixed debian/rules.

Modified: packages/trunk/ogreal/debian/rules
===================================================================
--- packages/trunk/ogreal/debian/rules  2008-01-17 18:09:17 UTC (rev 5433)
+++ packages/trunk/ogreal/debian/rules  2008-01-17 18:19:46 UTC (rev 5434)
@@ -23,6 +23,7 @@
        fromdos -e Demos/Directional_Demo/Listener.cpp
        fromdos -e Demos/Doppler_Demo/Listener.cpp
        fromdos -e Demos/MultiChannel_Demo/Listener.cpp
+       touch fromdos-stamp
 
 patch: from-dos patch-stamp
 patch-stamp:
@@ -34,13 +35,12 @@
 configure-stamp:
        dh_testdir
        # Modified bootstrapping from upstream, declares everything obsolete.
-       rm -rf autom4te.cache
        libtoolize --force --copy
        aclocal
        autoheader -f
        automake --add-missing --force-missing --copy --foreign
        autoconf -f
-       ./configure --prefix=/usr
+       ./configure --prefix=/usr CFLAGS=$(CFLAGS)
        touch configure-stamp
 
 build: configure build-stamp
@@ -54,8 +54,10 @@
        dh_testdir
        dh_testroot
        [ ! -f Makefile ] || $(MAKE) clean distclean
-       rm -f configure-stamp build-stamp
        dh_clean
+       [ ! -d autom4te.cache ] || rm -r autom4te.cache
+       [ ! -f configure-stamp ] || rm configure-stamp
+       [ ! -f build-stamp ] || rm build-stamp
 
 unpatch:
        dh_testdir
@@ -69,6 +71,7 @@
        todos -e Demos/Directional_Demo/Listener.cpp
        todos -e Demos/Doppler_Demo/Listener.cpp
        todos -e Demos/MultiChannel_Demo/Listener.cpp
+       [ ! -f fromdos-stamp ] || rm fromdos-stamp
 
 install: build
        dh_testdir 
@@ -76,7 +79,6 @@
        dh_clean -k
        install -d debian/tmp
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-       ldconfig -n debian/tmp/usr/lib
        cd debian/tmp/usr/lib/ogrealdemos && \
        chrpath -d Basic Directional Doppler MultiChannel
        ln -s /etc/OGRE/plugins.cfg debian/tmp/usr/lib/ogrealdemos/plugins.cfg


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

Reply via email to