~ubuntu-branches/ubuntu/trusty/autokey/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Luke Faraone
  • Date: 2010-04-05 08:38:03 UTC
  • mfrom: (8.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100405083803-213ntib1b3208oq0
Tags: 0.61.7-2
Fix dependency substitution for Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
DEB_INSTALL_MANPAGES_autokey_qt = debian/autokey-qt.1
11
11
DEB_INSTALL_MANPAGES_autokey_gtk = debian/autokey-gtk.1
12
12
DEB_DH_INSTALLINIT_ARGS := --no-start --init-script=autokey --error-handler=true
 
13
 
 
14
build/autokey::
 
15
        if [ "$$(lsb_release -is)" = "Ubuntu" ]; then \
 
16
                echo akdefaulttype=gtk | tee debian/autokey.substvars; \
 
17
        else \
 
18
                echo akdefaulttype=qt | tee debian/autokey.substvars; \
 
19
        fi
 
20
        echo "$$(lsb_release -is)"
 
21
        
 
22
 
 
23
clean/autokey::
 
24
        rm debian/substvars