root/lang/perl/Config-Pit/trunk/Rakefile @ 4228

Revision 4225, 460 bytes (checked in by cho45, 7 years ago)

lang/perl/Config-Pit/trunk/Rakefile,
lang/perl/Config-Pit/trunk/Makefile.PL:

Specify bin/ppit as install_script
Update Rakefile

Line 
1
2require "rubygems"
3require "rake"
4
5task :default => :test
6
7
8desc "make test"
9task :test => ["Makefile"] do
10        sh %{make test}
11end
12
13desc "make clean"
14task :clean => ["Makefile"] do
15        sh %{make clean}
16end
17
18desc "make install"
19task :install => ["Makefile"] do
20        sh %{sudo make install}
21end
22
23desc "make uninstall"
24task :uninstall => ["Makefile"] do
25        sh %{sudo make uninstall}
26end
27
28file "Makefile" => ["Makefile.PL"] do
29        sh %{perl Makefile.PL}
30end
31
32file "Makefile.PL"
Note: See TracBrowser for help on using the browser.