-WaE: nested template problems.
[LibreOffice.git] / extras / CustomTarget_glade.mk
blob8cb04dc5522afa1bb86873d02575295d5c0fc199
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))
13 # Rules
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),XSLT,4)
21 $(call gb_Helper_abbreviate_dirs, \
22 mkdir -p $(dir $@) && \
23 $(call gb_ExternalExecutable_get_command,xsltproc) --nonet \
24 -o $@ $(SRCDIR)/extras/source/glade/makewidgetgroup.xslt $< \
27 # vim: set noet sw=4 ts=4: