| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# This file was originally written by Joey Hess and Craig Small. |
| 4 |
# As a special exception, when this file is copied by dh-make into a |
| 5 |
# dh-make output file, you may use that output file without restriction. |
| 6 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
| 7 |
|
| 8 |
# Uncomment this to turn on verbose mode. |
| 9 |
#export DH_VERBOSE=1 |
| 10 |
|
| 11 |
INSTALLDIR=usr/share/xul-ext/bidiui |
| 12 |
|
| 13 |
configure: configure-stamp |
| 14 |
configure-stamp: |
| 15 |
dh_testdir |
| 16 |
touch configure-stamp |
| 17 |
|
| 18 |
build: build-stamp |
| 19 |
|
| 20 |
build-stamp: configure-stamp xpi |
| 21 |
dh_testdir |
| 22 |
touch $@ |
| 23 |
|
| 24 |
xpi: |
| 25 |
dh_testdir source/tbird/dobuild |
| 26 |
cd source/tbird && ./dobuild tbird |
| 27 |
|
| 28 |
clean: |
| 29 |
dh_testdir |
| 30 |
dh_testroot |
| 31 |
rm -f build-stamp configure-stamp |
| 32 |
rm -rf source/tbird/build/ |
| 33 |
dh_clean |
| 34 |
|
| 35 |
install: build |
| 36 |
dh_testdir |
| 37 |
dh_testroot |
| 38 |
dh_clean |
| 39 |
dh_installdirs |
| 40 |
unzip -d debian/thunderbird-bidiui/$(INSTALLDIR) source/tbird/build/tbird/bidimailui_tbird.xpi |
| 41 |
|
| 42 |
build-arch: build |
| 43 |
|
| 44 |
build-indep: build |
| 45 |
|
| 46 |
# Build architecture-independent files here. |
| 47 |
binary-indep: build-indep install |
| 48 |
dh_testdir |
| 49 |
dh_testroot |
| 50 |
dh_installchangelogs |
| 51 |
dh_installdocs |
| 52 |
dh_link |
| 53 |
dh_compress |
| 54 |
dh_fixperms |
| 55 |
dh_installdeb |
| 56 |
dh_gencontrol |
| 57 |
dh_md5sums |
| 58 |
dh_builddeb |
| 59 |
|
| 60 |
# Build architecture-dependent files here. |
| 61 |
binary-arch: build-arch install |
| 62 |
# Nothing to do here |
| 63 |
|
| 64 |
binary: binary-indep binary-arch |
| 65 |
.PHONY: build clean binary-indep binary-arch binary install configure |