~bernd-sch/onehundredscopes/sshsearch

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Stéphane Graber
  • Date: 2012-01-19 20:03:07 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: stgraber@ubuntu.com-20120119200307-0jibqdn1jsr0tbhn
Initial batch of changes for ARB

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# -*- makefile -*-
3
2
 
 
3
PKGDIR=opt/extras.ubuntu.com/unity-lens-sshsearch
4
4
 
5
5
%:
6
 
        dh $@
 
6
        dh $@ --with python2
 
7
 
 
8
override_dh_auto_install:
 
9
        dh_auto_install -- --install-lib=/$(PKGDIR)/ --install-scripts=/$(PKGDIR)/
 
10
 
 
11
override_dh_python2:
 
12
        # Disabled as it installs files outside /opt
 
13
        #dh_python2 /$(PKGDIR)/
 
14
 
 
15
override_dh_compress:
 
16
        dh_compress
 
17
        set -e; \
 
18
                cd $(CURDIR)/debian/unity-lens-sshsearch; \
 
19
                mv usr/share/doc/unity-lens-sshsearch $(PKGDIR)/doc; \
 
20
                rmdir usr/share/doc
 
21
 
 
22
#override_dh_installdeb:
 
23
#       dh_apparmor --profile-name=opt.extras.ubuntu.com.unity-lens-sshsearch.unity-sshsearch-daemon -punity-lens-sshsearch
 
24
#       dh_installdeb
 
25
 
 
26
#override_dh_gencontrol:
 
27
#       dh_gencontrol
 
28
#       cp unity-lens-sshsearch.png ../unity-lens-sshsearch.png
 
29
#       dpkg-distaddfile unity-lens-sshsearch.png raw-meta-data -