~dholbach/ubuntu-docviewer-app/fix-CMakePluginParser-problem

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Tarmac
  • Author(s): Olivier Tilloy, mhall119, David Planella
  • Date: 2013-04-18 19:46:51 UTC
  • mfrom: (2.1.1 ubuntu-docviewer-app)
  • Revision ID: tarmac-20130418194651-3280bosbcsibu8wk
Updates packaging for a better install.

Approved by Granger Anthony, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# This file was originally written by Joey Hess and Craig Small.
5
 
# As a special exception, when this file is copied by dh-make into a
6
 
# dh-make output file, you may use that output file without restriction.
7
 
# This special exception was added by Craig Small in version 0.37 of dh-make.
8
3
 
9
4
# Uncomment this to turn on verbose mode.
10
5
#export DH_VERBOSE=1
11
6
 
12
 
# Work-around for some machines where INSTALL_ROOT is not set properly by
13
 
# dh_auto_install
14
 
override_dh_auto_install:
15
 
        dh_auto_install -- INSTALL_ROOT=$(CURDIR)/debian/tmp
16
 
 
17
 
# Workaround a bug in that debhelper package version
18
 
override_dh_install:
19
 
        mkdir -p $(CURDIR)/debian/tmp/usr/share/applications/
20
 
        mkdir -p $(CURDIR)/debian/tmp/usr/bin/
21
 
        mkdir -p $(CURDIR)/debian/tmp/usr/share/ubuntu-docviewer-app/
22
 
        cp ubuntu-docviewer-app.desktop $(CURDIR)/debian/tmp/usr/share/applications/
23
 
        cp ubuntu-docviewer-app $(CURDIR)/debian/tmp/usr/bin/
24
 
        cp -r *.qml *.png $(CURDIR)/debian/tmp/usr/share/ubuntu-docviewer-app/
25
 
        
26
 
        dh_install --sourcedir=debian/tmp --fail-missing
27
 
 
28
7
%:
29
8
        dh $@
 
9
 
 
10
override_dh_install:
 
11
        dh_install --fail-missing