[DRE-commits] r2487 - in tools/ruby-pkg-tools/trunk: 1/class debian

lucas at alioth.debian.org lucas at alioth.debian.org
Thu Feb 14 06:54:23 UTC 2008


Author: lucas
Date: 2008-02-14 06:54:22 +0000 (Thu, 14 Feb 2008)
New Revision: 2487

Modified:
   tools/ruby-pkg-tools/trunk/1/class/ruby-setup-rb.mk
   tools/ruby-pkg-tools/trunk/debian/changelog
Log:
revert commit 2484 since I found a better solution

Modified: tools/ruby-pkg-tools/trunk/1/class/ruby-setup-rb.mk
===================================================================
--- tools/ruby-pkg-tools/trunk/1/class/ruby-setup-rb.mk	2008-02-14 00:27:49 UTC (rev 2486)
+++ tools/ruby-pkg-tools/trunk/1/class/ruby-setup-rb.mk	2008-02-14 06:54:22 UTC (rev 2487)
@@ -37,6 +37,7 @@
 PACKAGED_RUBY_SETUP_CMD = /usr/lib/ruby/1.8/setup.rb
 DEB_RUBY_SETUP_CMD = debian-setup.rb
 DEB_RUBY_CONFIG_ARGS = --installdirs=std
+DEB_RUBY_CLEAN_TARGET = distclean
 
 # command to install symlink to packaged setup.rb: used in both build and clean
 # targets
@@ -69,8 +70,7 @@
 	cd $(DEB_SRCDIR)
 	$(DEB_RUBY_INSTALL_SETUP_CMD)
 	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS)
-	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) clean
-	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) distclean
+	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) $(DEB_RUBY_CLEAN_TARGET)
 	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS)
 	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) setup
 	/usr/bin/ruby$(cdbs_ruby_ver) $(DEB_RUBY_SETUP_CMD) install --prefix=debian/$(cdbs_curpkg)
@@ -86,8 +86,7 @@
 clean::
 	$(DEB_RUBY_INSTALL_SETUP_CMD)
 	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS)
-	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) clean
-	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) distclean
+	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) $(DEB_RUBY_CLEAN_TARGET)
 	rm -f $(DEB_SRCDIR)/.config-*
 	$(DEB_RUBY_REMOVE_SETUP_CMD)
 

Modified: tools/ruby-pkg-tools/trunk/debian/changelog
===================================================================
--- tools/ruby-pkg-tools/trunk/debian/changelog	2008-02-14 00:27:49 UTC (rev 2486)
+++ tools/ruby-pkg-tools/trunk/debian/changelog	2008-02-14 06:54:22 UTC (rev 2487)
@@ -1,11 +1,8 @@
 ruby-pkg-tools (0.14) UNRELEASED; urgency=low
 
-  * Invoke both "setup.rb clean" and "setup.rb distclean". Some extensions
-    might clean up in distclean, others in clean, so there's no unique
-    solution. Fixes a double-build failure
-    with librmagick-ruby 2.2.2.
+  * NOT RELEASED YET
 
- -- Lucas Nussbaum <lucas at lucas-nussbaum.net>  Thu, 14 Feb 2008 01:22:39 +0100
+ -- Lucas Nussbaum <lucas at lucas-nussbaum.net>  Wed, 13 Feb 2008 00:06:19 +0100
 
 ruby-pkg-tools (0.13) unstable; urgency=low
 




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