~ubuntu-branches/ubuntu/trusty/gist/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Christian Hofstaedtler
  • Date: 2013-07-24 21:25:00 UTC
  • Revision ID: package-import@ubuntu.com-20130724212500-scearcg5lu70ktqj
Tags: 4.0.3-2
Rebuild upstream shipped files during build.

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
 
 
14
%:
 
15
        dh $@ --buildsystem=ruby --with ruby
 
16
 
 
17
override_dh_auto_build:
 
18
        if [ ! -d build.shipped ]; then \
 
19
                mv build build.shipped; \
 
20
        fi
 
21
        LC_ALL=C.UTF-8 rake man
 
22
        LC_ALL=C.UTF-8 rake standalone
 
23
 
 
24
override_dh_auto_clean:
 
25
        if [ -d build.shipped ]; then \
 
26
                rm -rf build; \
 
27
                mv build.shipped build; \
 
28
        fi