chiark / gitweb /
Makefile work in own dir again
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Sep 2012 03:30:00 +0000 (04:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Sep 2012 03:30:00 +0000 (04:30 +0100)
Makefile

index df8862d..317fe39 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ HRR=/home/reprap
 SLIC3R=$(HRR)/Slic3r/bin/slic3r
 SKEINFORGE=python $(HRR)/reprappro-software.git/skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
 
-PLAY ?= .
+CWD := $(shell pwd)
+PLAY ?= $(CWD)
 
 CONFIG=slic3r-config.ini