summaryrefslogtreecommitdiffstats
path: root/extconf.rb
diff options
context:
space:
mode:
authorguy Decoux <ts@moulon.inra.fr>2009-02-28 20:20:42 +0100
committerguy Decoux <ts@moulon.inra.fr>2009-02-28 20:20:42 +0100
commit5bcbd1d5d3e74f07220cbda4014d408f97447e63 (patch)
tree7e36b879937b2817ca0800fc3959693d8cd57b48 /extconf.rb
parent697ed85e893ab9039bf52a9bcd0ecadf1af9b654 (diff)
downloadmmap-ruby-5bcbd1d5d3e74f07220cbda4014d408f97447e63.zip
mmap-ruby-5bcbd1d5d3e74f07220cbda4014d408f97447e63.tar.gz
mmap-0.2.5
Diffstat (limited to 'extconf.rb')
-rw-r--r--extconf.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/extconf.rb b/extconf.rb
index 1a5f9ef..d7a7693 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -26,10 +26,10 @@ create_makefile "mmap"
begin
make = open("Makefile", "a")
make.puts "\ntest: $(DLLIB)"
- Dir.foreach('tests') do |x|
+ Dir.foreach('test') do |x|
next if /^\./ =~ x || /(_\.rb|~)$/ =~ x
next if FileTest.directory?(x)
- make.print "\truby tests/#{x}\n"
+ make.print "\truby test/#{x}\n"
end
if unknown
make.print <<-EOT
@@ -47,22 +47,22 @@ EOT
EOT
make.print "HTML = mmap.html"
- docs = Dir['docs/*.rd']
- docs.each {|x| make.print " \\\n\t#{x.sub(/\.rd$/, '.html')}" }
- make.print "\n\nRDOC = docs/mmap.rb"
+ doc = Dir['doc/*.rd']
+ doc.each {|x| make.print " \\\n\t#{x.sub(/\.rd$/, '.html')}" }
+ make.print "\n\nRDOC = doc/mmap.rb"
make.puts
make.print <<-EOF
-rdoc: docs/doc/index.html
+rdoc: doc/doc/index.html
-docs/doc/index.html: $(RDOC)
-\t@-(cd docs; rdoc mmap.rb)
+doc/doc/index.html: $(RDOC)
+\t@-(cd doc; rdoc mmap.rb)
-ri: docs/mmap.rb
-\t@-(cd docs; rdoc -r mmap.rb)
+ri: doc/mmap.rb
+\t@-(cd doc; rdoc -r mmap.rb)
-ri-site: docs/mmap.rb
-\t@-(cd docs; rdoc -R mmap.rb)
+ri-site: doc/mmap.rb
+\t@-(cd doc; rdoc -R mmap.rb)
rd2: html