[maemo-commits] [maemo-commits] r9579 - projects/haf/trunk/hildon-fm/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 2 17:16:35 EET 2007
Author: marivoll
Date: 2007-02-02 17:16:34 +0200 (Fri, 02 Feb 2007)
New Revision: 9579

Modified:
   projects/haf/trunk/hildon-fm/debian/rules
Log:
  * debian/rules: Removed unused version magic.  Dont attempt to copy
    config.sub and config.guess from /usr/share/misc on clean.  Don't
    cleanup outo bits, since outo is not used anymore.


Modified: projects/haf/trunk/hildon-fm/debian/rules
===================================================================
--- projects/haf/trunk/hildon-fm/debian/rules	2007-02-02 15:12:18 UTC (rev 9578)
+++ projects/haf/trunk/hildon-fm/debian/rules	2007-02-02 15:16:34 UTC (rev 9579)
@@ -28,20 +28,11 @@
         CFLAGS += -mthumb
 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 --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-doc-dir=\$${prefix}/share/doc --disable-gtk-doc
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-doc-dir=\$${prefix}/share/doc
 
 
 build: build-stamp
@@ -60,12 +51,6 @@
 
 	# 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 
@@ -78,7 +63,6 @@
 
 	# Add here commands to install the package into debian/build
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/build
-	rm -f $(CURDIR)/debian/build/usr/lib/outo/*.*a
 
 # Build architecture-independent files here.
 binary-indep: build install


More information about the maemo-commits mailing list