Permalink
Browse files

Removed unnecessary files.

  • Loading branch information...
1 parent 86350de commit a91cb7b63c5fa19a7f572178eaf2d97e827c334e @eclubb eclubb committed Mar 4, 2009
Showing with 0 additions and 72 deletions.
  1. +0 −26 MANIFEST
  2. +0 −1 VERSION
  3. +0 −45 make_dist.rb
View
@@ -1,26 +0,0 @@
-Changes
-COPYING
-MANIFEST
-README
-THANKS
-TODO
-VERSION
-examples/example.rb
-examples/form.rb
-examples/form2.rb
-examples/hello_ncurses.rb
-examples/LICENSES_for_examples
-examples/rain.rb
-examples/tclock.rb
-examples/read_line.rb
-examples/test_scanw.rb
-extconf.rb
-form_wrap.c
-form_wrap.h
-make_dist.rb
-ncurses_wrap.c
-ncurses_wrap.h
-lib/ncurses.rb
-panel_wrap.c
-panel_wrap.h
-
View
@@ -1 +0,0 @@
-1.1
View
@@ -1,45 +0,0 @@
-#!/usr/bin/env ruby
-
-# $Id: make_dist.rb,v 1.6 2003/08/29 22:50:12 t-peters Exp $
-
-require "fileutils"
-
-def sys(i)
- puts("\"#{i}\"")
- system(i)
-end
-
-dir = File.dirname(__FILE__)
-base = File.basename(dir)
-base = "ncurses-ruby" if base == "."
-
-files = IO.readlines(dir + "/MANIFEST").collect{|filename|filename.chomp}
-
-Version = File.new("#{dir}/VERSION").readline.chomp!
-
-FileUtils.mkdir "#{base}-#{Version}"
-files.each{|filename|
- if filename.index "/"
- FileUtils.mkdir_p "#{base}-#{Version}/#{File.dirname(filename)}"
- end
- sys "cp #{dir}/#{filename} #{base}-#{Version}/#{filename}"
-}
-sys "tar cjf #{base}-#{Version}.tar.bz2 --owner=0 --group=0 #{base}-#{Version}"
-
-# check if we create a binary distribution for a mingw extension
-binary_description = `file ncurses.so`
-
-if ((binary_description =~ /\s(windows)\s/i) &&
- (binary_description =~ /\s(pe)|(portable executable)\s/i) &&
- (binary_description =~ /\s(dll)\s/i))
- sys "cp ncurses.so README.binary #{base}-#{Version}"
- Dir.glob("#{base}-#{Version}/README*").each{|textfile|
- text = IO.readlines(textfile).map{|line|line.chomp + "\r\n"}
- File.open(textfile + ".txt", "wb"){|outfd| outfd.write(text.join)}
- sys "rm #{textfile}"
- }
- sys "rm #{base}-#{Version}/{MANIFEST,make_dist.rb}"
- sys "zip -9 -r #{base}-#{Version}-i386-mswin32.zip #{base}-#{Version}"
-end
-
-sys "rm -r #{base}-#{Version}/"

0 comments on commit a91cb7b

Please sign in to comment.