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
,onlineupdate
/generated
))
12 onlineupdate_INC
:= $(call gb_CustomTarget_get_workdir
,onlineupdate
/generated
)/onlineupdate
14 $(onlineupdate_INC
)/primaryCert.h
: \
15 $(SRCDIR
)/onlineupdate
/source
/update
/updater
/gen_cert_header.py \
16 $(call gb_ExternalExecutable_get_dependencies
,python
)
17 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),build
,,1)
19 $(call gb_ExternalExecutable_get_command
,python
) $(SRCDIR
)/onlineupdate
/source
/update
/updater
/gen_cert_header.py
"primaryCertData" $(UPDATE_CONFIG
) > $(onlineupdate_INC
)/primaryCert.h
#"$(UPDATE_CONFIG)"
21 $(onlineupdate_INC
)/secondaryCert.h
: \
22 $(SRCDIR
)/onlineupdate
/source
/update
/updater
/gen_cert_header.py \
23 $(call gb_ExternalExecutable_get_dependencies
,python
)
24 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),build
,,1)
26 $(call gb_ExternalExecutable_get_command
,python
) $(SRCDIR
)/onlineupdate
/source
/update
/updater
/gen_cert_header.py
"secondaryCertData" $(UPDATE_CONFIG
) > $(onlineupdate_INC
)/secondaryCert.h
#"$(UPDATE_CONFIG)"
28 $(call gb_CustomTarget_get_target
,onlineupdate
/generated
) : \
29 $(onlineupdate_INC
)/primaryCert.h \
30 $(onlineupdate_INC
)/secondaryCert.h \
32 # vim: set noet sw=4 ts=4: