From b1e8335e090f584bb37a28bcd107e539f329e563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 27 Nov 2014 11:16:32 +0100 Subject: [PATCH] build: make it possible to use unopkg from a different path --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b54eba8..3ee98d8 100644 --- a/Makefile +++ b/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