From 5e300e9030d8d0730223b1eea1627953524cb58c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 19 Sep 2013 00:06:24 +0200 Subject: odk: remove Package_bin, instead auto-install executables This is somewhat annoying since it requires re-introducing stupid directories in scp2, but if the executables should be put in INSTDIR directly then the Package_bin needs to go. Change-Id: I893694c7f9d4cb5b9ef8ec4a3d30e08536223740 --- odk/CustomTarget_check.mk | 3 ++- odk/Module_odk.mk | 1 - odk/Package_bin.mk | 27 --------------------------- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 odk/Package_bin.mk (limited to 'odk') diff --git a/odk/CustomTarget_check.mk b/odk/CustomTarget_check.mk index e7d524450489..46042a49726c 100644 --- a/odk/CustomTarget_check.mk +++ b/odk/CustomTarget_check.mk @@ -28,7 +28,8 @@ odk_PLATFORM := $(if $(filter WNT,$(OS)),\ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \ $(SRCDIR)/odk/util/check.pl \ $(if $(DOXYGEN),$(call gb_GeneratedPackage_get_target,odk_doxygen)) \ - $(call gb_Package_get_target,odk_bin) \ + $(foreach exe,$(if $(filter WNT,$(OS)),climaker) cppumaker idlc javamaker regcompare $(if $(SYSTEM_UCPP),,ucpp) uno-skeletonmaker unoapploader,\ + $(call gb_Executable_get_target,$(exe))) \ $(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_cli)) \ $(call gb_Package_get_target,odk_config) \ $(if $(filter WNT,$(OS)),\ diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk index 7dd0e20dcecb..56b940514175 100644 --- a/odk/Module_odk.mk +++ b/odk/Module_odk.mk @@ -18,7 +18,6 @@ $(eval $(call gb_Module_add_targets,odk,\ CustomTarget_html \ CustomTarget_settings \ Executable_unoapploader \ - Package_bin \ Package_config \ Package_docs \ Package_html \ diff --git a/odk/Package_bin.mk b/odk/Package_bin.mk deleted file mode 100644 index 46d447a0e71c..000000000000 --- a/odk/Package_bin.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -$(eval $(call gb_Package_Package,odk_bin,$(OUTDIR)/bin)) - -$(eval $(call gb_Package_set_outdir,odk_bin,$(INSTDIR))) - -$(eval $(call gb_Package_add_files,odk_bin,$(gb_Package_SDKDIRNAME)/bin,\ - $(addsuffix $(gb_Executable_EXT),\ - $(if $(filter WNT,$(OS)),climaker) \ - cppumaker \ - idlc \ - javamaker \ - regcompare \ - $(if $(SYSTEM_UCPP),,ucpp) \ - uno-skeletonmaker \ - unoapploader \ - ) \ -)) - -# vim: set noet sw=4 ts=4: -- cgit