Kaydet (Commit) 77ff5c70 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS pythonlinkfix (1.6.34); FILE MERGED

2005/11/06 02:17:59 maho 1.6.34.1: Don't use postscript for pyuno project

Issue number: #i56955#
üst c8da3e59
......@@ -12,7 +12,11 @@ systempython:
PYDIRNAME=python-core-$(PYVERSION)
DESTROOT=$(BIN)$/python-core-$(PYVERSION)
.IF "$(GUI)" == "UNX"
PYTHONBINARY=$(BIN)$/python$(EXECPOST).bin
.ELSE
PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST)
.ENDIF
FINDLIBFILES_TMP:=$(subst,/,$/ \
$(shell +$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v .pyc ))
......@@ -29,6 +33,8 @@ target: \
$(BIN)$/python.sh : python.sh
-rm -f $@
cat $? > $@
sed 's/%%PYVERSION%%/$(PYVERSION)/g' < $@ > $@.new
mv $@.new $@
.IF "$(GUI)" == "UNX"
chmod +x $@
.ENDIF
......@@ -47,15 +53,21 @@ $(DESTROOT)$/lib$/% : $(SOLARLIBDIR)$/python$/%
-rm -f $@
cat $< > $@
$(DESTROOT)$/bin$/python$(EXECPOST) : $(SOLARBINDIR)$/python$(EXECPOST)
.IF "$(GUI)"== "UNX"
$(BIN)$/python$(EXECPOST).bin : $(SOLARBINDIR)$/python$(EXECPOST)
-+$(MKDIRHIER) $(@:d)
-rm -f $@
cat $< > $@
.IF "$(GUI)"== "UNX"
.IF "$(OS)" != "MACOSX"
strip $@
.ENDIF
chmod +x $@
.ELSE
$(DESTROOT)$/bin$/python$(EXECPOST) : $(SOLARBINDIR)$/python$(EXECPOST)
-+$(MKDIRHIER) $(@:d)
-rm -f $@
cat $< > $@
strip $@
.ENDIF
.ENDIF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment