[Pkg-tcltk-commits] r593 - tk8.4/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Thu May 1 08:33:04 UTC 2008


Author: sgolovan-guest
Date: 2008-05-01 08:33:03 +0000 (Thu, 01 May 2008)
New Revision: 593

Modified:
   tk8.4/trunk/debian/changelog
   tk8.4/trunk/debian/rules
Log:
[tk8.4]
  * Fixed clean target to work with debhelper 7.0 (made dh_clean the last
    command, so debhelper logs are removed now).


Modified: tk8.4/trunk/debian/changelog
===================================================================
--- tk8.4/trunk/debian/changelog	2008-05-01 08:31:08 UTC (rev 592)
+++ tk8.4/trunk/debian/changelog	2008-05-01 08:33:03 UTC (rev 593)
@@ -1,8 +1,9 @@
 tk8.4 (8.4.19-2) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * Fixed clean target to work with debhelper 7.0 (made dh_clean the last
+    command, so debhelper logs are removed now).
 
- -- Sergei Golovan <sgolovan at debian.org>  Sat, 19 Apr 2008 19:35:55 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Thu, 01 May 2008 12:31:32 +0400
 
 tk8.4 (8.4.19-1) unstable; urgency=low
 

Modified: tk8.4/trunk/debian/rules
===================================================================
--- tk8.4/trunk/debian/rules	2008-05-01 08:31:08 UTC (rev 592)
+++ tk8.4/trunk/debian/rules	2008-05-01 08:33:03 UTC (rev 593)
@@ -32,7 +32,6 @@
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
-
 	cd unix && \
 	  TK_LIBRARY="/usr/share/tcltk/tk$(v)" \
 	  ./configure --host=$(DEB_HOST_GNU_TYPE) \
@@ -45,31 +44,29 @@
 		      --enable-man-symlinks \
 		      --enable-man-compression=gzip && \
 	  $(MAKE) CFLAGS="$(CFLAGS)"
-
 # Build the static library.
 	cd unix && \
 	  ar cr libtk$(v).a *.o && \
 	  ar d libtk$(v).a tkAppInit.o && \
 	  ranlib libtk$(v).a
-
 	touch build-stamp
 
 clean: clean-patched unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean
+
 clean-patched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp install-stamp
-
 	cd unix && [ ! -f Makefile ] || $(MAKE) distclean
 
-	dh_clean
-
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_installdirs
-
 	mkdir -p debian/tmp/usr
 	cd unix && \
 	  GZIP=-9 \
@@ -148,7 +145,6 @@
 	   debian/tk$(v)-dev/usr/share/tcltk/tk$(v)
 	ln -s ../../share/tcltk/tk$(v)/tkConfig.sh \
 	      debian/tk$(v)-dev/usr/lib/tk$(v)/tkConfig.sh
-
 	dh_installdocs -a
 	install -d `pwd`/debian/tk$(v)/usr/share/doc/tk$(v)/examples/
 # move around the demos




More information about the Pkg-tcltk-commits mailing list