Kaydet (Commit) d633da43 authored tarafından David Ostrovsky's avatar David Ostrovsky

deliver pyuno/python.exe in one step

Change-Id: I886f4a6aec492ae498ce86d71686c8d9fb26203d
üst d25453e2
......@@ -105,7 +105,7 @@ $(eval $(call gb_Helper_register_executables,OOO,\
langsupport \
odbcconfig \
officeloader \
python_wrapper \
pyuno/python \
quickstart \
sbase \
scalc \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_CustomTarget_CustomTarget,pyuno/python_wrapper))
python_wrapper_TARGET := $(OUTDIR)/bin/pyuno/python.exe
$(call gb_CustomTarget_get_target,pyuno/python_wrapper) : $(python_wrapper_TARGET)
$(python_wrapper_TARGET) : $(call gb_Executable_get_target,python_wrapper)
cp $< $@
# vim: set noet sw=4 ts=4:
......@@ -24,17 +24,17 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Executable_Executable,python_wrapper))
$(eval $(call gb_Executable_Executable,pyuno/python))
$(eval $(call gb_Executable_use_static_libraries,python_wrapper,\
$(eval $(call gb_Executable_use_static_libraries,pyuno/python,\
ooopathutils \
))
$(eval $(call gb_Executable_use_custom_headers,python_wrapper,\
$(eval $(call gb_Executable_use_custom_headers,pyuno/python,\
pyuno/pyversion \
))
$(eval $(call gb_Executable_add_noexception_objects,python_wrapper,\
$(eval $(call gb_Executable_add_noexception_objects,pyuno/python,\
pyuno/zipcore/python \
))
......
......@@ -43,13 +43,12 @@ endif
ifneq ($(SYSTEM_PYTHON),YES)
# zipcore: python.exe on Windows
# zipcore: pyuno/python.exe on Windows
# zipcore: pyversion.hxx on Windows
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,pyuno,\
CustomTarget_pyversion \
Executable_python_wrapper \
CustomTarget_python_wrapper \
))
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment