~cwayne/onehundredscopes/unity-lens-github

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Chris Wayne
  • Date: 2012-10-10 18:06:18 UTC
  • Revision ID: git-v1:4de44b20c0cc404f4d17ce8ac19527932edaa2c0
Fixing for ARB

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
 
2
 
 
3
 
 
4
PKGDIR=opt/extras.ubuntu.com/unity-lens-github
 
5
 
2
6
%:
3
 
ifneq ($(shell dh -l | grep -xF translations),)
4
 
        dh $@ --with python2,translations
5
 
else
6
7
        dh $@ --with python2
7
 
endif
8
 
 
 
8
 
 
9
override_dh_auto_install:
 
10
        dh_auto_install -- --install-lib=/$(PKGDIR)/ --install-scripts=/$(PKGDIR)/
 
11
 
 
12
override_dh_python2:
 
13
        # Disabled as it installs files outside /opt
 
14
        #dh_python2 /$(PKGDIR)/
9
15