~ubuntu-branches/ubuntu/trusty/ruby-ramaze/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Gunnar Wolf, Cédric Boutillier, Gunnar Wolf
  • Date: 2013-08-29 10:10:15 UTC
  • Revision ID: package-import@ubuntu.com-20130829101015-hsziad54jf11lrex
Tags: 2012.12.08-1
[ Cédric Boutillier ]
* Repackaged to use the newer Ruby policy

[ Gunnar Wolf ]
* Create transitional packages; review+update copyright information
* Incorporate previous packaging information from the old packaging
* Don't require rubygems from within Debian packages
* Minor fixes, including some lintian warnings
* Avoid the ramaze binary's hard-coded relative paths

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
#export DH_VERBOSE=1
 
3
#
 
4
# Uncomment to ignore all test failures (but the tests will run anyway)
 
5
#export DH_RUBY_IGNORE_TESTS=all
 
6
#
 
7
# Uncomment to ignore some test failures (but the tests will run anyway).
 
8
# Valid values:
 
9
#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
 
10
#
 
11
# If you need to specify the .gemspec (eg there is more than one)
 
12
#export DH_RUBY_GEMSPEC=gem.gemspec
 
13
DEST = debian/ruby-ramaze
 
14
 
 
15
%:
 
16
        dh $@ --buildsystem=ruby --with ruby
 
17
 
 
18
override_dh_install:
 
19
        dh_install
 
20
        mv $(DEST)/usr/lib/ruby/vendor_ruby/proto $(DEST)/usr/share/ruby/vendor_ruby/
 
21
        ln -s ../../../share/ruby/vendor_ruby/proto $(DEST)/usr/lib/ruby/vendor_ruby/
 
22
        chmod a+x $(DEST)/usr/lib/ruby/vendor_ruby/proto/config.ru