diff makefile @ 1706:e30493d458f9

more npm setup. n3 upgraded but code is not, yet Ignore-this: f2c1fdfef218cedc322e03d3784d1123
author drewp@bigasterisk.com
date Mon, 30 Apr 2018 06:37:19 +0000
parents 115a268f1d74
children 05248a7c2c51
line wrap: on
line diff
--- a/makefile	Sun Apr 29 21:56:51 2018 +0000
+++ b/makefile	Mon Apr 30 06:37:19 2018 +0000
@@ -51,12 +51,10 @@
 
 bower: node_modules/bower/bin/bower bin/node
 	cd light9/web/lib; nodejs ../../../node_modules/bower/bin/bower install
-	# pixi is fetched with npm
-	ln -s ../../../node_modules/pixi.js light9/web/lib/
 
-	cd light9/web/lib/N3.js; npm install; PATH=../../../../bin:$(PATH) npm run browser
-
-	cd light9/web/lib/d3; PATH=../../../../bin:$(PATH) npm install
+npm:
+	npm install
+	cd node_modules/n3; nodejs ../browserify/bin/cmd.js --standalone N3 --require n3 -o n3-browser.js
 
 bin/ascoltami2: gst_packages link_to_sys_packages