diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-17 14:29:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-17 14:29:00 +0200 |
commit | 6fe26facd06d4d1e5e37384d25d83209209229fa (patch) | |
tree | 238a06d1556e730f78ef8db7d4d9471df8d57d34 /desktop | |
parent | ab2c1321776e0b622c5f0747366bb0bfeb163cc5 (diff) |
Produce empty share/uno_packages/cache/uno_packages/ hier in instdir, too
...though the way to do it is probably somewhat overblown...
Change-Id: I9b0da2913e0584eaf7d2ec98d1a29e1d78533d51
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/CustomTarget_desktop_unopackages_install.mk | 19 | ||||
-rw-r--r-- | desktop/GeneratedPackage_desktop_unopackages_install.mk | 16 | ||||
-rw-r--r-- | desktop/Module_desktop.mk | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/desktop/CustomTarget_desktop_unopackages_install.mk b/desktop/CustomTarget_desktop_unopackages_install.mk new file mode 100644 index 000000000000..f16845fe1d7b --- /dev/null +++ b/desktop/CustomTarget_desktop_unopackages_install.mk @@ -0,0 +1,19 @@ +# -*- 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_CustomTarget_CustomTarget,desktop/unopackages_install)) + +$(call gb_CustomTarget_get_target,desktop/unopackages_install) : | \ + $(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/uno_packages/cache/uno_packages + +$(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/uno_packages/cache/uno_packages : | \ + $(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/.dir + mkdir -p $@ + +# vim: set noet sw=4 ts=4: diff --git a/desktop/GeneratedPackage_desktop_unopackages_install.mk b/desktop/GeneratedPackage_desktop_unopackages_install.mk new file mode 100644 index 000000000000..243396ccc10b --- /dev/null +++ b/desktop/GeneratedPackage_desktop_unopackages_install.mk @@ -0,0 +1,16 @@ +# -*- 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_GeneratedPackage_GeneratedPackage,desktop_unopackages_install,$(call gb_CustomTarget_get_workdir,desktop/unopackages_install))) + +$(eval $(call gb_GeneratedPackage_use_customtarget,desktop_unopackages_install,desktop/unopackages_install)) + +$(eval $(call gb_GeneratedPackage_add_dir,desktop_unopackages_install,$(INSTROOT)/share/uno_packages,uno_packages)) + +# vim: set noet sw=4 ts=4: diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk index 8c1dd94d66b6..e13e8fcd8682 100644 --- a/desktop/Module_desktop.mk +++ b/desktop/Module_desktop.mk @@ -13,6 +13,8 @@ $(eval $(call gb_Module_add_targets,desktop,\ AllLangResTarget_deployment \ AllLangResTarget_deploymentgui \ AllLangResTarget_dkt \ + CustomTarget_desktop_unopackages_install \ + GeneratedPackage_desktop_unopackages_install \ Library_deployment \ Library_deploymentgui \ Library_deploymentmisc \ |