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
,readlicense_oo
/license
))
12 readlicense_oo_DIR
:= $(call gb_CustomTarget_get_workdir
,readlicense_oo
/license
)
14 $(call gb_CustomTarget_get_target
,readlicense_oo
/license
) : $(readlicense_oo_DIR
)/license.txt
16 $(readlicense_oo_DIR
)/license.txt
: \
17 $(SRCDIR
)/readlicense_oo
/license
/LICENSE \
18 |
$(readlicense_oo_DIR
)/.
dir
19 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),AWK
,1)
20 $(call gb_Helper_abbreviate_dirs
, \
21 $(gb_AWK
) 'sub("$$","\r")' $< > $@.tmp
&& mv
$@.tmp
$@ \
24 # vim:set shiftwidth=4 tabstop=4 noexpandtab: