build: make it possible to use unopkg from a different path

This commit is contained in:
Frédéric Péters 2014-11-27 11:16:32 +01:00
parent 4f7cbbb0a2
commit b1e8335e09
1 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
UNOPKG=/usr/lib/libreoffice/program/unopkg
#UNOPKG=/var/tmp/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org3/program/unopkg
tabellio-pcf.ott:
(cd template-pcf && zip ../tabellio-pcf.ott -r . -x '.svn')
@ -11,9 +14,9 @@ tabellio.oxt: addon/Addons.xcu
(cd addon && fastjar -c -f ../tabellio.oxt -M .)
install: tabellio.oxt
/usr/lib/libreoffice/program/unopkg add -v tabellio.oxt
$(UNOPKG) add -v tabellio.oxt
uninstall:
/usr/lib/libreoffice/program/unopkg remove tabellio.oxt
$(UNOPKG) remove tabellio.oxt
.PHONY: tabellio-pcf.ott tabellio.oxt tabellio-pfb.ott