[Pkg-maemo-commits] r169 ./hildon-theme-layout-4/debian: * Cleanup rules.

Jonny Lamb jonnylamb at jonnylamb.com
Mon Jul 23 20:43:13 UTC 2007


------------------------------------------------------------
revno: 169
committer: Jonny Lamb <jonnylamb at jonnylamb.com>
branch nick: hildon-theme-layout-4
timestamp: Mon 2007-07-23 21:43:13 +0100
message:
  * Cleanup rules.
modified:
  debian/changelog
  debian/control
  debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-07-23 20:13:40 +0000
+++ b/debian/changelog	2007-07-23 20:43:13 +0000
@@ -7,8 +7,9 @@
   * Bumped debhelper compat to 5.
   * Bumped Standards-Version to 3.7.2.
   * Added watch file.
+  * Cleanup rules.
 
- -- Jonny Lamb <jonnylamb at jonnylamb.com>  Mon, 23 Jul 2007 21:12:46 +0100
+ -- Jonny Lamb <jonnylamb at jonnylamb.com>  Mon, 23 Jul 2007 21:42:30 +0100
 
 hildon-theme-layout-4 (0.10.0-1) unstable; urgency=low
 

=== modified file 'debian/control'
--- a/debian/control	2007-07-23 20:03:37 +0000
+++ b/debian/control	2007-07-23 20:43:13 +0000
@@ -16,7 +16,7 @@
 Depends: hildon-theme-tools (>= 0.2.0)
 Description: A layout file for making themes for the maemo 4 platform
  This package contains tools that can help you create a theme for
- the maemo platform version 4.
- .
- All you need to do is create a big template image and these tools
- will create a theme package from it.
+ the maemo platform version 4. It contains a gtkrc template for themes.
+ This works by maintaining a single gtkrc template (which is closely
+ tied with the code) and implement different themes by only drawing a
+ single png file.

=== modified file 'debian/rules'
--- a/debian/rules	2007-06-11 23:24:17 +0000
+++ b/debian/rules	2007-07-23 20:43:13 +0000
@@ -3,40 +3,23 @@
 # Sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
-# 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)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
+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 -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 
 config.status:
 	dh_testdir
 	CFLAGS="$(CFLAGS)" ./autogen.sh --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
-
 build: build-stamp
 
 build-stamp:  config.status
 	dh_testdir
-
 	# Add here commands to compile the package.
 	$(MAKE)
-
 	touch build-stamp
 
 clean:
@@ -45,12 +28,9 @@
 	rm -f build-stamp 
 	rm -f install-stamp
 	rm -f debian/files
-
 	# Add here commands to clean up after the build process.
-	-$(MAKE) maintainer-clean
-
+	[ ! -f Makefile ] || $(MAKE) maintainer-clean
 	rm -rf debian/hildon-theme-layout-4
-
 	dh_clean 
 
 install: build
@@ -62,7 +42,6 @@
 	# Add here commands to install the package into debian/apt-https.
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/hildon-theme-layout-4
 
-
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
@@ -70,26 +49,11 @@
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-#	dh_installman
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
 	dh_installdeb
-#	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb



More information about the Pkg-maemo-commits mailing list