# -*- 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,sw/generated)) sw_SRC := $(SRCDIR)/sw/source/core/swg sw_PL := $(SRCDIR)/solenv/bin/gentoken.pl sw_INC := $(call gb_CustomTarget_get_workdir,sw/generated) $(sw_INC)/TextBlockTokens.gperf : $(sw_SRC)/TextBlockTokens.txt $(sw_PL) mkdir -p $(sw_INC) $(PERL) $(sw_PL) $(sw_SRC)/TextBlockTokens.txt $(sw_INC)/TextBlockTokens.gperf $(sw_INC)/BlockListTokens.gperf : $(sw_SRC)/BlockListTokens.txt $(sw_PL) mkdir -p $(sw_INC) $(PERL) $(sw_PL) $(sw_SRC)/BlockListTokens.txt $(sw_INC)/BlockListTokens.gperf $(sw_INC)/tokens.cxx : $(sw_INC)/TextBlockTokens.gperf $(sw_INC)/BlockListTokens.gperf $(GPERF) --compare-strncmp --readonly-tables --output-file=$(sw_INC)/tokens.cxx \ --class-name=TextBlockTokens --word-array-name=textBlockList --enum $(sw_INC)/TextBlockTokens.gperf $(GPERF) --compare-strncmp --readonly-tables -T $(sw_INC)/BlockListTokens.gperf \ --class-name=BlockListTokens --word-array-name=blockListList >> $(sw_INC)/tokens.cxx sed -i $(if $(filter MACOSX,$(OS_FOR_BUILD)),'') -e "s/(char\*)0/(char\*)0, XML_TOKEN_INVALID/g" $(sw_INC)/tokens.cxx sed -i $(if $(filter MACOSX,$(OS_FOR_BUILD)),'') -e "/^#line/d" $(sw_INC)/tokens.cxx $(call gb_CustomTarget_get_target,sw/generated) : $(sw_INC)/tokens.cxx # vim: set noet sw=4 ts=4: ffice-5-4'>distro/cib/libreoffice-5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/desktop/scripts
AgeCommit message (Expand)Author
2017-03-07desktop: unbreak soffice --valgrindMichael Stahl
2017-02-11Upon failure, 'cd' itself already prints a message to stderrStephan Bergmann
2017-02-06Revert "fix desktop scripts"Stephan Bergmann
2017-02-04Unbreak soffice.shStephan Bergmann
2017-02-04fix desktop scriptsJochen Nitschke
2017-02-04tdf#105204 fix shellcheck warnings in desktop/scriptsqarkai
2016-11-07soffice.sh: can't hurt to force system allocator for massifMichael Stahl