r6915 - packages/trunk/ogreal/debian
Andres Mejia
ceros-guest at alioth.debian.org
Thu May 8 21:15:56 UTC 2008
Author: ceros-guest
Date: 2008-05-08 21:15:56 +0000 (Thu, 08 May 2008)
New Revision: 6915
Modified:
packages/trunk/ogreal/debian/rules
Log:
Packaging newest svn revision of ogreal.
Include lines to get cleanest diff possible.
Modified: packages/trunk/ogreal/debian/rules
===================================================================
--- packages/trunk/ogreal/debian/rules 2008-05-08 20:19:16 UTC (rev 6914)
+++ packages/trunk/ogreal/debian/rules 2008-05-08 21:15:56 UTC (rev 6915)
@@ -16,13 +16,13 @@
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
-CXXFLAGS += -Wall -g
+DEB_CXXFLAGS += -Wall -g
# Supporting 'noopt' option. 'nostrip' option not provided as this package
# creates debugging packages.
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CXXFLAGS += -O0
+ DEB_CXXFLAGS += -O0
else
- CXXFLAGS += -O2
+ DEB_CXXFLAGS += -O2
endif
fromdos:
@@ -51,7 +51,7 @@
autoheader -f
automake --add-missing --force-missing --copy --foreign
autoconf -f
- ./configure --prefix=/usr $(confflags) CXXFLAGS="$(CXXFLAGS)"
+ ./configure --prefix=/usr $(confflags) CXXFLAGS="$(DEB_CXXFLAGS)"
touch configure-stamp
build: configure build-stamp
@@ -66,12 +66,30 @@
dh_testroot
[ ! -f Makefile ] || $(MAKE) clean distclean
dh_clean
+# Clean generated autotool files
+ for IN_FILES in `find . -regex ".*\/Makefile\.in$$" \
+ ! -regex ".*\/debian\/.*$$"`; \
+ do rm -f "$$IN_FILES"; \
+ done
+ rm -f "Demos/bin/plugins.cfg"
+ rm -f "Demos/bin/resources.cfg"
+ rm -f "configure"
+ rm -f "missing"
+ rm -f "ltmain.sh"
+ rm -f "depcomp"
+ rm -f "compile"
+ rm -f "aclocal.m4"
+ rm -f "config.sub"
+ rm -f "include/config.h.in"
+ rm -f "install-sh"
+ rm -f "config.guess"
[ ! -f configure-stamp ] || rm configure-stamp
[ ! -f build-stamp ] || rm build-stamp
unpatch:
dh_testdir
QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ rm -rf .pc/
[ ! -f patch-stamp ] || rm patch-stamp
todos:
More information about the Pkg-games-commits
mailing list