mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
ifctester webapp makefile - fix issue on windows
This commit is contained in:
@@ -32,6 +32,7 @@ webapp-dev:
|
|||||||
|
|
||||||
.PHONY: pyodide-download
|
.PHONY: pyodide-download
|
||||||
pyodide-download:
|
pyodide-download:
|
||||||
|
echo "Use Python ${PYTHON} and pip ${PIP} to build the package"
|
||||||
@if [ -d "$(PYODIDE_DIR)" ]; then \
|
@if [ -d "$(PYODIDE_DIR)" ]; then \
|
||||||
echo "Pyodide directory already exists at $(PYODIDE_DIR), skipping download"; \
|
echo "Pyodide directory already exists at $(PYODIDE_DIR), skipping download"; \
|
||||||
else \
|
else \
|
||||||
@@ -80,7 +81,9 @@ clean:
|
|||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist: webapp-prepare
|
dist: webapp-prepare
|
||||||
$(MAKE) -f ../common.mk dist PACKAGE_NAME=$(PACKAGE_NAME)
|
# For some reason OS is not initalized when we call common.mk dist, which matters on Windows.
|
||||||
|
# So we pass it explicitly.
|
||||||
|
$(MAKE) -f ../common.mk dist PACKAGE_NAME=$(PACKAGE_NAME) OS=$(OS)
|
||||||
|
|
||||||
.PHONY: webapp-prepare
|
.PHONY: webapp-prepare
|
||||||
webapp-prepare: webapp-build
|
webapp-prepare: webapp-build
|
||||||
|
|||||||
Reference in New Issue
Block a user