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: ...@@ -12,7 +12,11 @@ systempython:
PYDIRNAME=python-core-$(PYVERSION) PYDIRNAME=python-core-$(PYVERSION)
DESTROOT=$(BIN)$/python-core-$(PYVERSION) DESTROOT=$(BIN)$/python-core-$(PYVERSION)
.IF "$(GUI)" == "UNX"
PYTHONBINARY=$(BIN)$/python$(EXECPOST).bin
.ELSE
PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST) PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST)
.ENDIF
FINDLIBFILES_TMP:=$(subst,/,$/ \ FINDLIBFILES_TMP:=$(subst,/,$/ \
$(shell +$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v .pyc )) $(shell +$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v .pyc ))
...@@ -29,6 +33,8 @@ target: \ ...@@ -29,6 +33,8 @@ target: \
$(BIN)$/python.sh : python.sh $(BIN)$/python.sh : python.sh
-rm -f $@ -rm -f $@
cat $? > $@ cat $? > $@
sed 's/%%PYVERSION%%/$(PYVERSION)/g' < $@ > $@.new
mv $@.new $@
.IF "$(GUI)" == "UNX" .IF "$(GUI)" == "UNX"
chmod +x $@ chmod +x $@
.ENDIF .ENDIF
...@@ -47,15 +53,21 @@ $(DESTROOT)$/lib$/% : $(SOLARLIBDIR)$/python$/% ...@@ -47,15 +53,21 @@ $(DESTROOT)$/lib$/% : $(SOLARLIBDIR)$/python$/%
-rm -f $@ -rm -f $@
cat $< > $@ cat $< > $@
$(DESTROOT)$/bin$/python$(EXECPOST) : $(SOLARBINDIR)$/python$(EXECPOST) .IF "$(GUI)"== "UNX"
$(BIN)$/python$(EXECPOST).bin : $(SOLARBINDIR)$/python$(EXECPOST)
-+$(MKDIRHIER) $(@:d) -+$(MKDIRHIER) $(@:d)
-rm -f $@ -rm -f $@
cat $< > $@ cat $< > $@
.IF "$(GUI)"== "UNX"
.IF "$(OS)" != "MACOSX" .IF "$(OS)" != "MACOSX"
strip $@ strip $@
.ENDIF .ENDIF
chmod +x $@ chmod +x $@
.ELSE
$(DESTROOT)$/bin$/python$(EXECPOST) : $(SOLARBINDIR)$/python$(EXECPOST)
-+$(MKDIRHIER) $(@:d)
-rm -f $@
cat $< > $@
strip $@
.ENDIF .ENDIF
.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