Install apport-hook only in Ubuntu and derivatives
Marco Nenciarini
12 years ago
0 | 0 |
usr/bin
|
1 | 1 |
usr/share/man/man1
|
2 | |
usr/share/apport/package-hooks
|
|
0 |
c2050 (0.3b-3) unstable; urgency=low
|
|
1 |
|
|
2 |
* Install apport-hook only in Ubuntu and derivatives
|
|
3 |
|
|
4 |
-- Marco Nenciarini <mnencia@debian.org> Tue, 31 May 2011 11:27:39 +0200
|
|
5 |
|
0 | 6 |
c2050 (0.3b-2) unstable; urgency=low
|
1 | 7 |
|
2 | 8 |
* Merge changes from Ubuntu. (Closes: #539650, #601261, #626290)
|
3 | 3 |
# Uncomment this to turn on verbose mode.
|
4 | 4 |
#export DH_VERBOSE=1
|
5 | 5 |
|
|
6 |
derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
|
|
7 |
|
6 | 8 |
%:
|
7 | 9 |
dh $@
|
8 | 10 |
|
9 | 11 |
override_dh_install:
|
10 | 12 |
dh_install
|
11 | |
cp debian/local/apport-hook.py debian/c2050/usr/share/apport/package-hooks/source_c2050.py
|
|
13 |
ifeq ($(derives_from_ubuntu),yes)
|
|
14 |
# Install the apport hook on Ubuntu and derivatives
|
|
15 |
install -D -m 644 debian/local/apport-hook.py $(CURDIR)/debian/c2050/usr/share/apport/package-hooks/source_c2050.py
|
|
16 |
endif
|