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
,\
14 docs
/notsupported.html \
16 examples
/DevelopersGuide
/examples.html \
17 examples
/examples.html \
21 $(call gb_CustomTarget_get_workdir
,odk
/html
)/%.html
: $(SRCDIR
)/odk
/%.html
22 $(call gb_Output_announce
,$*.html
,$(true
),SED
,1)
23 cat
$< | tr
-d
"\015" | sed
-e
's/%PRODUCT_RELEASE%/$(PRODUCTVERSION)/g' > $@
25 # vim: set noet sw=4 ts=4: