[maemo-commits] [maemo-commits] r16408 - projects/haf/trunk/hildon-thumbnail/debian
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Oct 15 16:52:53 EEST 2008
- Previous message: [maemo-commits] r16407 - projects/haf/trunk/hildon-thumbnail/debian
- Next message: [maemo-commits] r16409 - projects/haf/tags/hildon-thumbnail
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2008-10-15 16:52:52 +0300 (Wed, 15 Oct 2008) New Revision: 16408 Modified: projects/haf/trunk/hildon-thumbnail/debian/rules Log: Sanitized, conform to compat level 5. Modified: projects/haf/trunk/hildon-thumbnail/debian/rules =================================================================== --- projects/haf/trunk/hildon-thumbnail/debian/rules 2008-10-15 13:49:09 UTC (rev 16407) +++ projects/haf/trunk/hildon-thumbnail/debian/rules 2008-10-15 13:52:52 UTC (rev 16408) @@ -6,13 +6,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - - CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -24,45 +17,21 @@ INSTALL_PROGRAM += -s endif -# shared library versions, option 1 -version=2.0.5 -major=2 -# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so -#version=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -#major=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` - config.status: - if [ ! -x configure ]; then ./autogen.sh; fi dh_testdir -# Add here commands to configure the package. - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-dependency-tracking + CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --sysconfdir=/etc - build: build-stamp build-stamp: config.status dh_testdir - -# Add here commands to compile the package. $(MAKE) - touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp - -# Add here commands to clean up after the build process. -$(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - rm -rf debian/build dh_clean @@ -71,8 +40,6 @@ dh_testroot dh_clean -k dh_installdirs - -# Add here commands to install the package into debian/build $(MAKE) install DESTDIR=$(CURDIR)/debian/build # Build architecture-independent files here. @@ -98,7 +65,7 @@ # dh_installinfo dh_installman dh_link - dh_strip --dbg-package="libhildon-thumbnail0" + dh_strip --dbg-package="libhildon-thumbnail0-dbg" dh_compress dh_fixperms # dh_perl
- Previous message: [maemo-commits] r16407 - projects/haf/trunk/hildon-thumbnail/debian
- Next message: [maemo-commits] r16409 - projects/haf/tags/hildon-thumbnail
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]