[csw-devel] SF.net SVN: gar:[13022] csw/mgar/gar/v2/bin/gem2pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Jan 20 10:43:22 CET 2011
Revision: 13022
http://gar.svn.sourceforge.net/gar/?rev=13022&view=rev
Author: dmichelsen
Date: 2011-01-20 09:43:22 +0000 (Thu, 20 Jan 2011)
Log Message:
-----------
mGAR v2/gem2pkg: Beautify generated GEM Makefile
Modified Paths:
--------------
csw/mgar/gar/v2/bin/gem2pkg
Modified: csw/mgar/gar/v2/bin/gem2pkg
===================================================================
--- csw/mgar/gar/v2/bin/gem2pkg 2011-01-20 09:37:41 UTC (rev 13021)
+++ csw/mgar/gar/v2/bin/gem2pkg 2011-01-20 09:43:22 UTC (rev 13022)
@@ -21,16 +21,18 @@
DESCRIPTION = #{spec.summary}
define BLURB
-#{blurb.gsub(/(.{1,70})( +|$\n?)|(.{1,70})/, "\\1\\3\n")}
+ #{blurb.gsub(/(.{1,70})( +|$\n?)|(.{1,70})/, "\\1\\3")}
endef
EOF
- spec.dependencies.each do |d|
- puts "RUNTIME_DEP_PKGS += CSWgem-#{d.name}"
+ unless spec.dependencies.empty?
+ spec.dependencies.each do |d|
+ puts "RUNTIME_DEP_PKGS += CSWgem-#{d.name}"
+ end
end
- puts "\nARCHALL = 1" if spec.extensions.size.eql?(0)
+ puts "ARCHALL = 1\n" if spec.extensions.size.eql?(0)
puts "include gar/category.mk"
rescue Exception => e
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list