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
,odk
/html
))
12 $(eval
$(call gb_CustomTarget_register_targets
,odk
/html
,\
15 examples
/DevelopersGuide
/examples.html \
16 examples
/examples.html \
20 $(call gb_CustomTarget_get_workdir
,odk
/html
)/%.html
: $(SRCDIR
)/odk
/%.html
21 $(call gb_Output_announce
,$*.html
,$(true
),SED
,1)
22 sed
-e
's|%PRODUCT_RELEASE%|$(PRODUCTVERSION)|g' \
23 -e
's|%DOXYGEN_PREFIX0%|$(if $(DOXYGEN),.,https://api.libreoffice.org)|g' \
24 -e
's|%DOXYGEN_PREFIX1%|$(if $(DOXYGEN),..,https://api.libreoffice.org)|g' \
25 -e
's|%DOXYGEN_PREFIX2%|$(if $(DOXYGEN),../..,https://api.libreoffice.org)|g' \
26 -e
's|%JAVADOC_PREFIX0%|$(if $(ENABLE_JAVA),.,https://api.libreoffice.org)|g' \
27 -e
's|%JAVADOC_PREFIX1%|$(if $(ENABLE_JAVA),..,https://api.libreoffice.org)|g' \
30 # vim: set noet sw=4 ts=4: