[Pkg-ruby-extras-maintainers] r635 - tools/ruby-pkg-tools/trunk/1/class

Esteban Manchado Velázquez zoso at costa.debian.org
Mon Jun 19 21:51:58 UTC 2006


Author: zoso
Date: 2006-06-19 21:51:58 +0000 (Mon, 19 Jun 2006)
New Revision: 635

Modified:
   tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk
Log:
- Avoid rb files compression, if using debhelper
- Thanks to Lucas Nussbaum for the idea and code


Modified: tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk
===================================================================
--- tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk	2006-06-16 15:05:42 UTC (rev 634)
+++ tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk	2006-06-19 21:51:58 UTC (rev 635)
@@ -34,6 +34,13 @@
 include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)
 include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
 
+# Just be sure you include debhelper.mk before including this file.
+ifdef _cdbs_rules_debhelper
+# It's a bad idea to compress examples and tests in the docs
+DEB_COMPRESS_EXCLUDE := .rb
+endif
+
+
 DEB_RUBY_COMPILE_VERSION = 
 
 DEB_RUBY_VERSIONS = 1.8 1.9




More information about the pkg-ruby-extras-maintainers mailing list