diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-01-28 13:43:38 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-01-28 13:43:38 +0100 |
commit | 3465a97f4a786423bb8d86ef666da430337878e4 (patch) | |
tree | 9034863394caf877efedb8514d4b15819ea5c60d | |
parent | 9d9c26ba19c9c27c96f096e0a167609932bc2200 (diff) |
vcl2gnumake: #i116588# add zip file for macos (preliminary)
-rw-r--r-- | vcl/Module_vcl.mk | 6 | ||||
-rw-r--r-- | vcl/Package_osx.mk | 36 |
2 files changed, 42 insertions, 0 deletions
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index db2941976270..ff35aadd574c 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -59,5 +59,11 @@ $(eval $(call gb_Module_add_targets,vcl,\ endif endif +ifeq ($(GUIBASE),aqua) +$(eval $(call gb_Module_add_targets,vcl,\ + Package_osx \ +)) +endif + # vim: set noet sw=4 ts=4: diff --git a/vcl/Package_osx.mk b/vcl/Package_osx.mk new file mode 100644 index 000000000000..414479a88fed --- /dev/null +++ b/vcl/Package_osx.mk @@ -0,0 +1,36 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +### FIXME: when we have a real ZipTarget mechanism in gbuild replace this mess +$(eval $(call gb_Package_Package,vcl_zip,)) +$(eval $(call gb_Package_add_file,vcl_zip,bin/osxres.zip,$(WORKDIR)/Misc/osxres.zip)) + +/$(WORKDIR)/Misc/osxres.zip: $(SRCDIR)/vcl/aqua/source/res/MainMenu.nib/*.nib $(SRCDIR)/vcl/aqua/source/res/cursors/*.png + cd $(SRCDIR)/vcl/aqua/source/res ; \ + mkdir -p $(dir $@) ; \ + zip $@ MainMenu.nib/*.nib cursors/*.png + |