blob: 2726fd311066d27d658bc1b0237072363a54f955 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/make -f
%:
dh $@
HAVE_LIBREOFFICE = $(shell apt-cache show libreoffice 2>/dev/null | grep -q '^Version:' && echo y)
override_dh_gencontrol:
ifeq ($(HAVE_LIBREOFFICE),y)
dh_gencontrol -- -Vdebathena-cool-kids-office-suite=libreoffice
else
dh_gencontrol -- -Vdebathena-cool-kids-office-suite=openoffice.org
endif
ifeq ($(HAVE_LIBREOFFICE),y)
override_dh_install:
dh_install
dh_install debian/ooffice usr/bin
endif
|