1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
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/.
8#
9
10LO_PERSONAS_LIST=dark gray green pink sand white
11
12$(foreach persona,$(LO_PERSONAS_LIST),\
13    $(eval $(call gb_Package_Package,extras_persona_$(persona),$(SRCDIR)/extras/source/gallery/personas/$(persona))) \
14    $(eval $(call gb_Package_add_files,extras_persona_$(persona),$(LIBO_SHARE_FOLDER)/gallery/personas/$(persona),\
15        footer.png \
16        header.png \
17        preview.png \
18    ))\
19    $(eval $(call gb_Package_get_target,extras_personas): $(call gb_Package_get_target,extras_persona_$(persona))) \
20)
21
22$(eval $(call gb_Package_Package,extras_personas,$(SRCDIR)/extras/source/gallery/personas))
23
24$(call gb_Package_get_clean_target,extras_personas):
25	rm -rf $(INSTROOT)/$(LIBO_SHARE_FOLDER)/gallery/personas
26
27# TODO: generate this, and potentially make labels translatable
28$(eval $(call gb_Package_add_files,extras_personas,$(LIBO_SHARE_FOLDER)/gallery/personas,\
29	personas_list.txt \
30))
31
32# vim: set noet sw=4 ts=4:
33