office-gobmx/odk/CustomTarget_config_win.mk
Stephan Bergmann deaa5dc2a4 Parameterize lower case PRODUCTNAME in odk/config/setsdkenv_windows.bat
Change-Id: I50ebfabdc63729b0ea3152fa919758b028a9c5d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176558
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-13 23:04:53 +01:00

19 lines
704 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,odk/config))
$(eval $(call gb_CustomTarget_register_targets,odk/config,\
setsdkenv_windows.bat \
))
$(gb_CustomTarget_workdir)/odk/config/setsdkenv_windows.bat : $(SRCDIR)/odk/config/setsdkenv_windows.bat
sed $< -e 's#__SDKNAME__#'"$$(printf %s '$(PRODUCTNAME)' | tr A-Z a-z)"'$(PRODUCTVERSION)_sdk#' > $@
# vim: set noet sw=4 ts=4: