[Pkg-tcltk-commits] r588 - tcl8.4/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Thu May 1 08:25:20 UTC 2008


Author: sgolovan-guest
Date: 2008-05-01 08:25:19 +0000 (Thu, 01 May 2008)
New Revision: 588

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


Modified: tcl8.4/trunk/debian/changelog
===================================================================
--- tcl8.4/trunk/debian/changelog	2008-05-01 08:19:37 UTC (rev 587)
+++ tcl8.4/trunk/debian/changelog	2008-05-01 08:25:19 UTC (rev 588)
@@ -1,8 +1,9 @@
-tcl8.4 (8.4.19-2) UNRELEASED; urgency=low
+tcl8.4 (8.4.19-2) unstable; 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:29 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Thu, 01 May 2008 12:13:47 +0400
 
 tcl8.4 (8.4.19-1) unstable; urgency=low
 

Modified: tcl8.4/trunk/debian/rules
===================================================================
--- tcl8.4/trunk/debian/rules	2008-05-01 08:19:37 UTC (rev 587)
+++ tcl8.4/trunk/debian/rules	2008-05-01 08:25:19 UTC (rev 588)
@@ -32,7 +32,6 @@
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
-
 # So so ugly but it works...
 	touch generic/tclStubInit.c
 	cd unix && \
@@ -49,32 +48,32 @@
 		      --enable-man-compression=gzip && \
 	  touch ../generic/tclStubInit.c && \
 	  $(MAKE) CFLAGS="$(CFLAGS)"
-
 # Build the static library.
 	cd unix && \
 	  ar cr libtcl$(v).a *.o && \
 	  ar d libtcl$(v).a tclAppInit.o && \
 	  ranlib libtcl$(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
+# Remove forgotten files
+	rm -f tests/pkg/pkga.so unix/config.log unix/Tcltest.so
 
-	dh_clean tests/pkg/pkga.so unix/config.log unix/Tcltest.so
-
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-
 	cd unix && \
 	  GZIP=-9 \
 	  $(MAKE) INSTALL_ROOT=`pwd`/../debian/tmp \
@@ -119,7 +118,6 @@
 		rm $$f ; \
 	     fi ; \
 	  done
-
 	touch install-stamp
 
 # Build architecture-independent files here.
@@ -148,7 +146,6 @@
 	   debian/tcl$(v)-dev/usr/share/tcltk/tcl$(v)
 	ln -s ../../share/tcltk/tcl$(v)/tclConfig.sh \
 	      debian/tcl$(v)-dev/usr/lib/tcl$(v)/tclConfig.sh
-
 	dh_installdocs -a
 	dh_installmenu -a
 	dh_installchangelogs -a ChangeLog




More information about the Pkg-tcltk-commits mailing list