~ubuntu-branches/ubuntu/wily/openttd-opensfx/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman
  • Date: 2010-02-23 22:09:04 UTC
  • Revision ID: james.westby@ubuntu.com-20100223220904-vhwut6vr5fbu6hj3
Tags: 0.2.1-1
Initial release (Closes: #571144)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
%:
 
5
        dh  $@
 
6
 
 
7
override_dh_auto_configure:
 
8
        # We configure by writing to Makefile.local
 
9
        echo "INSTALLDIR=debian/openttd-opensfx/usr/share/games/openttd/data/" >> Makefile.local
 
10
 
 
11
# Point dh_installchangelogs to the upstream changelog
 
12
override_dh_installchangelogs:
 
13
        dh_installchangelogs docs/changelog.txt
 
14
 
 
15
override_dh_auto_clean:
 
16
        dh_auto_clean
 
17
        # Remove our additions to Makefile.local
 
18
        sed -i "/^INSTALLDIR=/d" Makefile.local