Permalink
Browse files

makefile fix

  • Loading branch information...
1 parent 5251998 commit 24c391662c61fd9e44a78b36d3daa1c1e3e6a721 Brainfucker committed Jul 17, 2010
Showing with 26 additions and 6 deletions.
  1. +25 −3 README.md
  2. +1 −3 makefile
View
@@ -17,9 +17,7 @@ You should use `var base64 = require("./build/default/base64");` (way to module)
2) execute `make`
-3) execute `sudo make install`
-
-You should use `var base64 = require("base64");` (from any path)
+You can use `var base64 = require("base64");` (from any path)
## Functions:
encode(str); // Encode string
@@ -37,3 +35,27 @@ To run speed test on your computer run test.js, here is my:
C++ module faster than JS in 6.304878048780488 times
<img src="http://nodejs.ru/img/small.png">
+
+
+
+MIT License
+
+ Copyright (c) <year> <copyright holders>
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
View
@@ -1,8 +1,6 @@
all:
- node-waf configure build
+ node-waf configure build && mkdir -p ~/.node_libraries && cp ./build/default/base64.node ~/.node_libraries/base64.node
tests:
node ./test.js
-install:
- cp ./build/default/base64.node /usr/local/lib/node/libraries/base64.node
clean:
rm -rf ./build

0 comments on commit 24c3916

Please sign in to comment.