mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 03:37:21 +00:00
More build fixes.
This commit is contained in:
@@ -94,7 +94,9 @@ endif
|
|||||||
cd dist/working && wget $(IOS_URL)
|
cd dist/working && wget $(IOS_URL)
|
||||||
cd dist/working && unzip ifcopenshell-python*
|
cd dist/working && unzip ifcopenshell-python*
|
||||||
cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
|
||||||
ifeq ($(PLATFORM), win)
|
ifeq ($(PLATFORM), win64)
|
||||||
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
||||||
|
else ifeq ($(PLATFORM), win32)
|
||||||
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
||||||
else
|
else
|
||||||
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
||||||
@@ -117,7 +119,9 @@ endif
|
|||||||
cd dist/working && wget $(IOS_URL)
|
cd dist/working && wget $(IOS_URL)
|
||||||
cd dist/working && unzip ifcopenshell-python*
|
cd dist/working && unzip ifcopenshell-python*
|
||||||
cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
|
||||||
ifeq ($(PLATFORM), win)
|
ifeq ($(PLATFORM), win64)
|
||||||
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
||||||
|
else ifeq ($(PLATFORM), win32)
|
||||||
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
|
||||||
else
|
else
|
||||||
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ VERSION_MINOR:=$(shell cat '../../VERSION' | cut -d '.' -f 2)
|
|||||||
VERSION_PATCH:=$(shell cat '../../VERSION' | cut -d '.' -f 3)
|
VERSION_PATCH:=$(shell cat '../../VERSION' | cut -d '.' -f 3)
|
||||||
VERSION_DATE:=$(shell date '+%y%m%d')
|
VERSION_DATE:=$(shell date '+%y%m%d')
|
||||||
|
|
||||||
|
SED:=sed -i
|
||||||
|
ifeq ($(UNAME_S),Darwin)
|
||||||
|
SED:=sed -i '' -e
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist:
|
dist:
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|||||||
Reference in New Issue
Block a user