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 $(eval
$(call gb_CustomTarget_CustomTarget
,extras
/glade
))
16 $(call gb_CustomTarget_get_workdir
,extras
/source
/glade
)/libreoffice-catalog.xml
: \
17 $(SRCDIR
)/extras
/source
/glade
/libreoffice-catalog.xml.in \
18 $(SRCDIR
)/extras
/source
/glade
/makewidgetgroup.xslt \
19 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
20 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),XSL
,4)
21 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),XSL
)
22 $(call gb_Helper_abbreviate_dirs
, \
23 mkdir
-p
$(dir $@
) && \
24 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
25 -o
$@
$(SRCDIR
)/extras
/source
/glade
/makewidgetgroup.xslt
$< \
27 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),XSL
)
29 # vim: set noet sw=4 ts=4: