[DRE-commits] r1941 - packages/libqt4-ruby/trunk/debian

fourmond at alioth.debian.org fourmond at alioth.debian.org
Mon Sep 24 22:43:08 UTC 2007


Author: fourmond
Date: 2007-09-24 22:43:08 +0000 (Mon, 24 Sep 2007)
New Revision: 1941

Modified:
   packages/libqt4-ruby/trunk/debian/rules
Log:
debian/rules cleanup (lintian is not happy)

Modified: packages/libqt4-ruby/trunk/debian/rules
===================================================================
--- packages/libqt4-ruby/trunk/debian/rules	2007-09-24 04:29:15 UTC (rev 1940)
+++ packages/libqt4-ruby/trunk/debian/rules	2007-09-24 22:43:08 UTC (rev 1941)
@@ -38,12 +38,10 @@
 	CFLAGS += -O2
 endif
 
-config.status: patch-stamp 
+configure-stamp: patch-stamp 
 	dh_testdir
-#	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-# 	cd qtruby/rubylib/qtruby; touch Makefile.am; make Makefile;
-# 	touch $@
 	cmake $(CMAKE_DEFS) . 
+	touch $@
 
 patch: patch-stamp
 
@@ -58,18 +56,14 @@
 build: build-arch build-indep
 
 build-arch: build-arch-stamp
-build-arch-stamp:  config.status
-# The following is a dirty fix for a bug with cmake on HPPA
-	$(MAKE) # || $(MAKE)
-# disabled, as it does not work more anyway.
-#	cd qtruby/rubylib/designer/rbrcc; $(MAKE)
-#	cd qtruby/rubylib/designer/rbuic; $(MAKE)
+build-arch-stamp:  configure-stamp
+	$(MAKE) 
 	touch $@
 
 build-indep: build-indep-stamp
-build-indep-stamp:
 
 # Nothing for the build-indep part, for now.
+build-indep-stamp:
 	touch $@
 
 clean::  clean-patched unpatch
@@ -77,15 +71,8 @@
 clean-patched:
 	dh_testdir
 	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
-# Doesn't seem to always work...
-	-$(MAKE) clean
-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 -f build-arch-stamp build-indep-stamp configure-stamp
+	$(MAKE) clean
 	dh_clean 
 
 install: install-indep install-arch
@@ -95,10 +82,6 @@
 	dh_clean -k -i 
 	dh_installdirs -i
 
-	# Add here commands to install the indep part of the package into
-	# debian/<package>-doc.
-	#INSTALLDOC#
-
 install-arch:
 	dh_testdir
 	dh_testroot
@@ -137,6 +120,7 @@
 	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




More information about the Pkg-ruby-extras-commits mailing list