r9521 - in /desktop/unstable/libgail-gnome/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Wed Apr 4 15:44:41 UTC 2007


Author: lool
Date: Wed Apr  4 15:44:41 2007
New Revision: 9521

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=9521
Log:
* Cleanups in rules.

Modified:
    desktop/unstable/libgail-gnome/debian/changelog
    desktop/unstable/libgail-gnome/debian/rules

Modified: desktop/unstable/libgail-gnome/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgail-gnome/debian/changelog?rev=9521&op=diff
==============================================================================
--- desktop/unstable/libgail-gnome/debian/changelog (original)
+++ desktop/unstable/libgail-gnome/debian/changelog Wed Apr  4 15:44:41 2007
@@ -5,8 +5,9 @@
   * Drop useless INSTALL_PROGRAM: this is handled by dh_strip.
   * Drop generated debian/docs from SVN.
   * Use full URL and HTTP in copyright.
-
- -- Loic Minier <lool at dooz.org>  Wed, 04 Apr 2007 17:41:41 +0200
+  * Cleanups in rules.
+
+ -- Loic Minier <lool at dooz.org>  Wed, 04 Apr 2007 17:43:54 +0200
 
 libgail-gnome (1.1.3-3) unstable; urgency=low
 

Modified: desktop/unstable/libgail-gnome/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgail-gnome/debian/rules?rev=9521&op=diff
==============================================================================
--- desktop/unstable/libgail-gnome/debian/rules (original)
+++ desktop/unstable/libgail-gnome/debian/rules Wed Apr  4 15:44:41 2007
@@ -10,9 +10,6 @@
 
 BUILD_DIR=$(SOURCE_DIR)/$(TAR_DIR)
 
-# 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)
@@ -24,27 +21,22 @@
 	CFLAGS += -O2
 endif
 
-# shared library versions, option 1
 # upstream version computation
 version=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-[^-]*$$/\1/p')
 soname=0
 
 debian/control:
 	dh_testdir
-
 	sed -e "s/@SONAME@/${soname}/g" -e "s/@VERSION@/${version}/g" -e 's/@GNOME_TEAM@/${uploaders}/' $@.in > $@
 
 configure: $(STAMP_DIR)/configure-stamp
 $(STAMP_DIR)/configure-stamp:
 	dh_testdir
-
 	$(MAKE) -f debian/sys-build.mk source.make
-
 	-test -r /usr/share/misc/config.sub && \
 	   cp -f /usr/share/misc/config.sub $(BUILD_DIR)/config.sub
 	-test -r /usr/share/misc/config.guess && \
 	   cp -f /usr/share/misc/config.guess $(BUILD_DIR)/config.guess
-
 	# Add here commands to configure the package.
 	cd $(BUILD_DIR) && \
 	./configure	--host=$(DEB_HOST_GNU_TYPE) \
@@ -52,26 +44,19 @@
 			--prefix=/usr \
 			--mandir=\$${prefix}/share/man \
 			--infodir=\$${prefix}/share/info
-
 	touch $@
 
 build: debian/control configure $(STAMP_DIR)/build-stamp
-$(STAMP_DIR)/build-stamp: 
+$(STAMP_DIR)/build-stamp:
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(MAKE) -C $(BUILD_DIR)
-
 	touch $@
 
 clean:: debian/control
 	dh_testdir
 	dh_testroot
-
-	# Add here commands to clean up after the build process.
 	$(MAKE) -f debian/sys-build.mk source.clean
 	-rm -rf $(STAMP_DIR)
-
 	dh_clean
 
 install: build
@@ -79,33 +64,23 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-
 	# generating debian files from .in
 	for f in `find debian/ -name "[^c]*.in"`; do \
 		sed -e "s/@VERSION@/${version}/g" $$f > `echo $$f | sed -e "s/\.in//"`; \
 	done
-
-	# Add here commands to install the package into debian/tmp
 	$(MAKE) -C $(BUILD_DIR) install DESTDIR=$(CURDIR)/debian/tmp
-	
 	dh_install -a
 
-# 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
-
 	rm -rf $(CURDIR)/debian/libgail-gnome-dev/usr/share/doc/libgail-gnome-dev
 	rm -rf $(CURDIR)/debian/libgail-gnome-dbg/usr/share/doc/libgail-gnome-dbg
 	dh_link -plibgail-gnome-dev usr/share/doc/libgail-gnome-module usr/share/doc/libgail-gnome-dev
 	dh_link -plibgail-gnome-dbg usr/share/doc/libgail-gnome-module usr/share/doc/libgail-gnome-dbg
-
 	dh_installexamples
 	dh_installman
 	dh_installinfo




More information about the pkg-gnome-commits mailing list