From bbc6d8ddce93531dc7c1e904299fe5eb0cf0c58d Mon Sep 17 00:00:00 2001 From: William Lachance Date: Fri, 18 Oct 2019 12:12:41 -0400 Subject: [PATCH] Remove various linux-isms in pyodide makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 800640969..518f60484 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ clean: build/test.data: $(CPYTHONLIB) ( \ cd $(CPYTHONLIB)/test; \ - find -type d -name __pycache__ -prune -exec rm -rf {} \; \ + find . -type d -name __pycache__ -prune -exec rm -rf {} \; \ ) ( \ cd build; \ @@ -177,7 +177,8 @@ root/.built: \ remove_modules.txt rm -rf root mkdir -p root/lib - cp -a $(CPYTHONLIB)/ root/lib + cp -r $(CPYTHONLIB) root/lib + mkdir -p $(SITEPACKAGES) cp $(SIX_LIBS) $(SITEPACKAGES) cp -r $(JEDI_ROOT) $(SITEPACKAGES) cp -r $(PARSO_ROOT) $(SITEPACKAGES) @@ -190,7 +191,7 @@ root/.built: \ cd root/lib/python$(PYMINOR); \ rm -fr `cat ../../../remove_modules.txt`; \ rm -fr test; \ - find -type d -name __pycache__ -prune -exec rm -rf {} \; \ + find . -type d -name __pycache__ -prune -exec rm -rf {} \; \ ) touch root/.built