bump product version to 4.1.6.2
[LibreOffice.git] / solenv / gbuild / Postprocess.mk
blob8f8900b8a9559ea1fc01b61f86a7c29f259a5a90
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(dir $(call gb_Postprocess_get_target,%)).dir :
11 $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@))
13 $(call gb_Postprocess_get_target,%) :
14 $(call gb_Output_announce,$(POSTPROCESS_INFO): $(if $(POSTPROCESS_PREFIX),$(subst $(POSTPROCESS_PREFIX),,$^),$^),$(true),ALL)
15 touch $@
17 define gb_Postprocess_Postprocess
18 $(call gb_Postprocess_get_target,$(1)) : POSTPROCESS_INFO := $(2)
19 $(call gb_Postprocess_get_target,$(1)) : POSTPROCESS_PREFIX := $(3)
21 $(call gb_Postprocess_get_target,$(1)) :| $(dir $(call gb_Postprocess_get_target,$(1))).dir
23 endef
25 define gb_Postprocess_make_targets
26 $(call gb_Postprocess_Postprocess,AllExecutables,All executables)
27 $(call gb_Postprocess_Postprocess,AllLibraries,All libraries)
28 $(call gb_Postprocess_Postprocess,AllModulesButInstsetNative,All modules but instset,$(WORKDIR)/Module/)
29 $(call gb_Postprocess_Postprocess,AllPackages,All packages,$(WORKDIR)/Package/)
30 $(call gb_Postprocess_Postprocess,AllResources,All resources,$(WORKDIR)/AllLangRes/)
31 $(call gb_Postprocess_Postprocess,AllUIConfigs,All UI configuration files,$(WORKDIR)/UIConfig/)
32 $(call gb_Postprocess_Postprocess,AllModuleTests,All modules' tests,$(WORKDIR)/Module/check/)
34 endef
36 # vim: set noet sw=4 ts=4: