rev 9003 - trunk/packages/meta-kde/debian

Ana Beatriz Guerrero López ana at alioth.debian.org
Fri Jan 18 20:03:10 UTC 2008


Author: ana
Date: 2008-01-18 20:03:10 +0000 (Fri, 18 Jan 2008)
New Revision: 9003

Modified:
   trunk/packages/meta-kde/debian/changelog
   trunk/packages/meta-kde/debian/rules
Log:
update the rules file


Modified: trunk/packages/meta-kde/debian/changelog
===================================================================
--- trunk/packages/meta-kde/debian/changelog	2008-01-18 19:52:49 UTC (rev 9002)
+++ trunk/packages/meta-kde/debian/changelog	2008-01-18 20:03:10 UTC (rev 9003)
@@ -7,8 +7,9 @@
   * Update copyright file.
   * Move Homepage to source field.
   * Update 4:3.4.3 to 4:3.5.5 now this is the KDE version in stable.
+  * Update rules file.
 
- -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Fri, 18 Jan 2008 20:39:03 +0100
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Fri, 18 Jan 2008 21:09:52 +0100
 
 meta-kde (5:47) unstable; urgency=low
 

Modified: trunk/packages/meta-kde/debian/rules
===================================================================
--- trunk/packages/meta-kde/debian/rules	2008-01-18 19:52:49 UTC (rev 9002)
+++ trunk/packages/meta-kde/debian/rules	2008-01-18 20:03:10 UTC (rev 9003)
@@ -1,123 +1,52 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
 
 	touch configure-stamp
 
+build: build-stamp
 
-#Architecture 
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp 
+build-stamp: configure-stamp 
+	dh_testdir
+	touch $@
 	
-	# Add here commands to compile the arch part of the package.
-	#$(MAKE) 
-
-build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp 
-	
-	# Add here commands to compile the indep part of the package.
-	#$(MAKE) doc
-
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-arch-stamp build-indep-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	#-$(MAKE) clean
 	
 	dh_clean
 
-install: install-indep install-arch
-install-indep:
+install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k -i
 	dh_installdirs -i
-	
-	# Add here commands to install the indep part of the package into
-	# debian/<package>-doc.
-	#INSTALLDOC#
-	
-	dh_install -i
 
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -a
-	dh_installdirs -a
 
-	# Add here commands to install the arch part of the package into 
-	# debian/tmp.
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/t
+binary-arch: build install
 
-	dh_install -a
-
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-multi
-# in another 'make' thread.
-binary-common:
+binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+	dh_installchangelogs
 	dh_installdocs
-#	dh_installexamples
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate	
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
+	dh_installexamples
+#	dh_install
 #	dh_installinfo
-#	dh_installman
+	dh_installman
 	dh_link
-	dh_strip
-	dh_compress 
+	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_makeshlibs
 	dh_installdeb
+	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
 
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-#binary: binary-arch binary-indep
-binary: binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure




More information about the pkg-kde-commits mailing list