Permalink
Browse files

Updating Makefile to fix copy

Updated to simply use ../lib instead of trying to use shell commands
detect CWD, as reported its not working on some linux distros.
  • Loading branch information...
1 parent f714575 commit 4ddd52b2e5e34e6305a26feb1e98912d4877157a @aikar committed Apr 5, 2011
Showing with 3 additions and 5 deletions.
  1. +1 −3 Makefile
  2. +1 −1 package.json
  3. +1 −1 src/wscript
View
@@ -1,10 +1,8 @@
-CWD = $(shell pwd -P)
NODE_WAF ?= node-waf
NODE_SRC_DIR ?= $(HOME)/src/node
CFLAGS ?= -g -Wall
CXXFLAGS ?= -g -Wall
-MODULE_LIB_DIR = $(CWD)/lib
# We need to build position-independent code regardless of platform
CFLAGS += -fPIC
CXXFLAGS += -fPIC
@@ -21,7 +19,7 @@ makelibs: magic cleanbuild
magic:
cd src && \
$(NODE_WAF) configure build && \
- cp ../build/default/magicBindings.node $(MODULE_LIB_DIR)
+ cp -f ../build/default/magicBindings.node ../lib
cleanbuild:
rm -rf build src/.lock-wscript
View
@@ -1,7 +1,7 @@
{
"name": "magic",
"description": "Magic Method/getter/setters for Node.JS",
- "version": "1.0.1",
+ "version": "1.0.2",
"homepage": "http://aikar.co/magic",
"repository": {
"type": "git",
View
@@ -1,6 +1,6 @@
srcdir = '.'
blddir = '../build'
-VERSION = '1.0.1'
+VERSION = '1.0.2'
def set_options(ctx):
ctx.tool_options('compiler_cxx')

0 comments on commit 4ddd52b

Please sign in to comment.