rev 6406 - trunk/packages/kdevelop/debian

Jeremy Lainé sharky at alioth.debian.org
Thu May 31 06:09:21 UTC 2007


Author: sharky
Date: 2007-05-31 06:09:21 +0000 (Thu, 31 May 2007)
New Revision: 6406

Modified:
   trunk/packages/kdevelop/debian/changelog
   trunk/packages/kdevelop/debian/rules
Log:
update ltmain.sh in application templates


Modified: trunk/packages/kdevelop/debian/changelog
===================================================================
--- trunk/packages/kdevelop/debian/changelog	2007-05-29 21:09:30 UTC (rev 6405)
+++ trunk/packages/kdevelop/debian/changelog	2007-05-31 06:09:21 UTC (rev 6406)
@@ -1,3 +1,9 @@
+kdevelop (4:3.4.0-4) UNRELEASED; urgency=low
+
+  * Update ltmain.sh in application templates (Closes: #351358).
+
+ -- Jeremy Lainé <jeremy.laine at m4x.org>  Mon, 02 Apr 2007 21:31:19 +0200
+
 kdevelop (4:3.4.0-3) unstable; urgency=low
 
   * Apply patch from Martin Michlmayr for GCC 4.3 FTBFS (Closes: #417343).

Modified: trunk/packages/kdevelop/debian/rules
===================================================================
--- trunk/packages/kdevelop/debian/rules	2007-05-29 21:09:30 UTC (rev 6405)
+++ trunk/packages/kdevelop/debian/rules	2007-05-31 06:09:21 UTC (rev 6406)
@@ -39,6 +39,29 @@
 				--with-pythondir=/usr \
 				--with-qtdoc-dir=/usr/share/qt3/doc/html
 
+# Use admin/ltmain.sh for application templates, as it is updated by
+# debian/patches/common/03_libtool_update.diff
+ltmain_sh := $(shell find $(DEB_SRCDIR)/parts/appwizard -type f -name ltmain.sh)
+
+update-config::
+ifneq (,$(ltmain_sh))
+	for i in $(ltmain_sh) ; do \
+		if ! test -e $$i.cdbs-orig ; then \
+			mv $$i $$i.cdbs-orig ; \
+			cp --remove-destination $(DEB_SRCDIR)/admin/ltmain.sh $$i ; \
+		fi ; \
+	done
+endif
+
+reverse-config::
+ifneq (,$(ltmain_sh))
+	for i in $(ltmain_sh) ; do \
+		if test -e $$i.cdbs-orig ; then \
+			mv $$i.cdbs-orig $$i ; \
+		fi ; \
+	done
+endif
+
 binary-install/kdevelop::
 	mkdir -p debian/kdevelop/usr/share/pixmaps
 	cp debian/kdevelop.xpm debian/kdevelop/usr/share/pixmaps




More information about the pkg-kde-commits mailing list