bump product version to 7.2.5.1
[LibreOffice.git] / odk / CustomTarget_html.mk
blob750b7777bef0198fec39f0b545bf7df6221a2cf5
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,\
13 docs/install.html \
14 docs/tools.html \
15 examples/DevelopersGuide/examples.html \
16 examples/examples.html \
17 index.html \
20 $(call gb_CustomTarget_get_workdir,odk/html)/%.html : $(SRCDIR)/odk/%.html
21 $(call gb_Output_announce,$*.html,$(true),SED,1)
22 $(call gb_Trace_StartRange,$*.html,SED)
23 sed -e 's|%PRODUCT_RELEASE%|$(PRODUCTVERSION)|g' \
24 -e 's|%DOXYGEN_PREFIX0%|$(if $(DOXYGEN),.,https://api.libreoffice.org)|g' \
25 -e 's|%DOXYGEN_PREFIX1%|$(if $(DOXYGEN),..,https://api.libreoffice.org)|g' \
26 -e 's|%DOXYGEN_PREFIX2%|$(if $(DOXYGEN),../..,https://api.libreoffice.org)|g' \
27 -e 's|%JAVADOC_PREFIX0%|$(if $(ENABLE_JAVA),.,https://api.libreoffice.org)|g' \
28 -e 's|%JAVADOC_PREFIX1%|$(if $(ENABLE_JAVA),..,https://api.libreoffice.org)|g' \
29 < $< > $@
30 $(call gb_Trace_EndRange,$*.html,SED)
32 # vim: set noet sw=4 ts=4: