~ci-train-bot/ubuntu-filemanager-app/ubuntu-filemanager-app-ubuntu-zesty-2562

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Michael Hall
  • Date: 2013-02-12 16:18:48 UTC
  • Revision ID: mhall119@ubuntu.com-20130212161848-u5qt45e38jovrbyk
Initial code template

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
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
 
 
9
# Uncomment this to turn on verbose mode.
 
10
#export DH_VERBOSE=1
 
11
 
 
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/app-template/
 
22
        cp app-template.desktop $(CURDIR)/debian/tmp/usr/share/applications/
 
23
        cp app-template $(CURDIR)/debian/tmp/usr/bin/
 
24
        cp -r *.qml *.png $(CURDIR)/debian/tmp/usr/share/app-template/
 
25
        
 
26
        dh_install --sourcedir=debian/tmp --fail-missing
 
27
 
 
28
%:
 
29
        dh $@