CWS-TOOLING: integrate CWS obo50
This commit is contained in:
commit
964dd51274
5 changed files with 71 additions and 23 deletions
|
@ -1,6 +1,7 @@
|
|||
tr l10ntools : tools LIBXSLT:libxslt BERKELEYDB:berkeleydb LUCENE:lucene NULL
|
||||
tr l10ntools : tools LIBXSLT:libxslt BERKELEYDB:berkeleydb LUCENE:lucene PYTHON:python NULL
|
||||
tr l10ntools usr1 - all tr_mkout NULL
|
||||
tr l10ntools\inc nmake - all tr_inc NULL
|
||||
tr l10ntools\scripts nmake - all tr_scripts NULL
|
||||
tr l10ntools\source nmake - all tr_src tr_inc NULL
|
||||
tr l10ntools\layout nmake - all rt_layout tr_src tr_inc NULL
|
||||
tr l10ntools\java\jpropex nmake - all tr_blah NULL
|
||||
|
|
|
@ -47,14 +47,18 @@ mkdir: %_DEST%\bin%_EXT%\help\com\sun\star\help
|
|||
..\scripts\localize %_DEST%\bin%_EXT%\localize
|
||||
..\scripts\fast_merge.pl %_DEST%\bin%_EXT%\fast_merge.pl
|
||||
..\scripts\keyidGen.pl %_DEST%\bin%_EXT%\keyidGen.pl
|
||||
..\scripts\tool\const.py %_DEST%\bin%_EXT%\const.py
|
||||
..\scripts\tool\l10ntool.py %_DEST%\bin%_EXT%\l10ntool.py
|
||||
..\scripts\tool\xtxex.py %_DEST%\bin%_EXT%\xtxex.py
|
||||
..\scripts\tool\sdf.py %_DEST%\bin%_EXT%\sdf.py
|
||||
..\scripts\tool\xhtex.py %_DEST%\bin%_EXT%\xhtex.py
|
||||
..\scripts\tool\pseudo.py %_DEST%\bin%_EXT%\pseudo.py
|
||||
..\scripts\xtxex %_DEST%\bin%_EXT%\xtxex
|
||||
..\scripts\xhtex %_DEST%\bin%_EXT%\xhtex
|
||||
..\%__SRC%\bin\const.py %_DEST%\bin%_EXT%\const.py
|
||||
..\%__SRC%\bin\l10ntool.py %_DEST%\bin%_EXT%\l10ntool.py
|
||||
..\%__SRC%\bin\pseudo.py %_DEST%\bin%_EXT%\pseudo.py
|
||||
..\%__SRC%\bin\sdf.py %_DEST%\bin%_EXT%\sdf.py
|
||||
..\%__SRC%\bin\const.pyc %_DEST%\bin%_EXT%\const.pyc
|
||||
..\%__SRC%\bin\l10ntool.pyc %_DEST%\bin%_EXT%\l10ntool.pyc
|
||||
..\%__SRC%\bin\pseudo.pyc %_DEST%\bin%_EXT%\pseudo.pyc
|
||||
..\%__SRC%\bin\sdf.pyc %_DEST%\bin%_EXT%\sdf.pyc
|
||||
..\%__SRC%\bin\xhtex.py %_DEST%\bin%_EXT%\xhtex.py
|
||||
..\%__SRC%\bin\xtxex.py %_DEST%\bin%_EXT%\xtxex.py
|
||||
|
||||
..\inc\export.hxx %_DEST%\inc%_EXT%\l10ntools\export.hxx
|
||||
..\inc\l10ntools\directory.hxx %_DEST%\inc%_EXT%\l10ntools\directory.hxx
|
||||
|
|
59
l10ntools/scripts/makefile.mk
Normal file
59
l10ntools/scripts/makefile.mk
Normal file
|
@ -0,0 +1,59 @@
|
|||
#*************************************************************************
|
||||
#
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
||||
#
|
||||
# OpenOffice.org - a multi-platform office productivity suite
|
||||
#
|
||||
# This file is part of OpenOffice.org.
|
||||
#
|
||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 3
|
||||
# only, as published by the Free Software Foundation.
|
||||
#
|
||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Lesser General Public License version 3 for more details
|
||||
# (a copy is included in the LICENSE file that accompanied this code).
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# version 3 along with OpenOffice.org. If not, see
|
||||
# <http://www.openoffice.org/license.html>
|
||||
# for a copy of the LGPLv3 License.
|
||||
#
|
||||
#*************************************************************************
|
||||
|
||||
# Copy *.py files into output tree and call a script once to
|
||||
# force python to create the *.pyc files.
|
||||
|
||||
PRJ=..
|
||||
TARGET = l10ntools_dummy_pyc
|
||||
|
||||
.INCLUDE: settings.mk
|
||||
|
||||
.IF "$(SYSTEM_PYTHON)"!="YES"
|
||||
PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python
|
||||
.ELSE # "$(SYSTEM_PYTHON)"!="YES"
|
||||
PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) python
|
||||
.ENDIF # "$(SYSTEM_PYTHON)"!="YES"
|
||||
|
||||
PYFILES = $(BIN)$/const.py \
|
||||
$(BIN)$/l10ntool.py \
|
||||
$(BIN)$/pseudo.py \
|
||||
$(BIN)$/sdf.py \
|
||||
$(BIN)$/xhtex.py \
|
||||
$(BIN)$/xtxex.py
|
||||
|
||||
.INCLUDE: target.mk
|
||||
|
||||
.IGNORE : create_pyc
|
||||
ALLTAR : create_pyc
|
||||
create_pyc : $(PYFILES)
|
||||
@$(PYTHON) $(BIN)/xtxex.py >& /dev/null
|
||||
|
||||
$(BIN)$/%.py : tool/%.py
|
||||
@$(COPY) $< $@
|
||||
|
||||
|
|
@ -31,16 +31,8 @@ if [ x${SOLARENV}x = xx ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ${GUI} = "WNT" ]; then
|
||||
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
|
||||
exec python $SOLARVERSION/$INPATH/bin/xhtex.py "$@"
|
||||
else
|
||||
exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xhtex.py "$@"
|
||||
fi
|
||||
else
|
||||
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
|
||||
exec python -B $SOLARVERSION/$INPATH/bin/xhtex.py "$@"
|
||||
else
|
||||
exec python -B $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xhtex.py "$@"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -31,17 +31,9 @@ if [ x${SOLARENV}x = xx ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ${GUI} = "WNT" ]; then
|
||||
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
|
||||
exec python $SOLARVERSION/$INPATH/bin/xtxex.py "$@"
|
||||
else
|
||||
exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xtxex.py "$@"
|
||||
fi
|
||||
else
|
||||
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
|
||||
exec python -B $SOLARVERSION/$INPATH/bin/xtxex.py "$@"
|
||||
else
|
||||
exec python -B $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xtxex.py "$@"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue