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.
9
# Uncomment this to turn on verbose mode.
12
# Work-around for some machines where INSTALL_ROOT is not set properly by
14
override_dh_auto_install:
15
dh_auto_install -- INSTALL_ROOT=$(CURDIR)/debian/tmp
17
# Workaround a bug in that debhelper package version
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/
26
dh_install --sourcedir=debian/tmp --fail-missing