# -*- 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/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . #
# default to color output, if interactive ifeq ($(origin gb_COLOR),undefined) ifneq ($(MAKE_TERMOUT),) # Cygwin mintty has issues where gb_Output_error is swallowed # but git-bash/wsl-as-helper seems fine with it ifneq ($(OS)$(MSYSTEM),WNT)
gb_COLOR=$(true) endif endif endif
# only enable colorized output if # - gb_COLOR is set # - we have a known term
gb_KNOWN_TERM:=Eterm aterm gnome kterm linux putty rxvt rxvt-unicode screen xterm xterm xtermc cygwin
gb_KNOWN_TERM+=$(patsubst %,%-color,$(gb_KNOWN_TERM))
gb_KNOWN_TERM+=$(patsubst %-color,%-256color,$(gb_KNOWN_TERM))
gb_KNOWN_TERM+=$(patsubst %-color,%+256color,$(gb_KNOWN_TERM))
gb_KNOWN_TERM+=$(patsubst %,screen.%,$(gb_KNOWN_TERM)) ifneq ($(strip $(gb_COLOR)),) ifneq ($(filter $(TERM),$(gb_KNOWN_TERM)),)
# only enable title output if # - gb_TITLES is set # - we have a known term ifneq ($(strip $(gb_TITLES)),) ifneq ($(filter $(TERM),$(gb_KNOWN_TERM)),) define gb_Output_announce_title
$(info $(gb_Output_ESCAPE)]2;gbuild: $(1)$(gb_Output_BELL)$(gb_Output_ESCAPE)[A) endef
$(call gb_Output_announce_title,...)
endif endif
# only enable bell output if # - gb_BELL is set # - gb_TTY is true (not piping to a file) ifneq ($(strip $(gb_BELL)),) define gb_Output_announce_bell
$(info $(gb_Output_BELL)$(gb_Output_ESCAPE)[A) endef endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.