build: make it possible to use unopkg from a different path
This commit is contained in:
parent
4f7cbbb0a2
commit
b1e8335e09
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
Reference in New Issue