File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494 cd dist/working && wget $(IOS_URL)
9595 cd dist/working && unzip ifcopenshell-python*
9696 cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
97- ifeq ($(PLATFORM ) , win)
97+ ifeq ($(PLATFORM ) , win64)
98+ cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
99+ else ifeq ($(PLATFORM), win32)
98100 cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
99101else
100102 cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
@@ -117,7 +119,9 @@ endif
117119 cd dist/working && wget $(IOS_URL)
118120 cd dist/working && unzip ifcopenshell-python*
119121 cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/
120- ifeq ($(PLATFORM ) , win)
122+ ifeq ($(PLATFORM ) , win64)
123+ cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
124+ else ifeq ($(PLATFORM), win32)
121125 cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/
122126else
123127 cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ VERSION_MINOR:=$(shell cat '../../VERSION' | cut -d '.' -f 2)
2424VERSION_PATCH: =$(shell cat '../../VERSION' | cut -d '.' -f 3)
2525VERSION_DATE: =$(shell date '+% y% m% d')
2626
27+ SED: =sed -i
28+ ifeq ($(UNAME_S ) ,Darwin)
29+ SED: =sed -i '' -e
30+ endif
31+
2732.PHONY : dist
2833dist :
2934 rm -rf dist
You can’t perform that action at this time.
0 commit comments