mitro-co / mitro

Repository for all Mitro client & server code
GNU General Public License v3.0
1.64k stars 242 forks source link

Fixed `browser-api/common/Makefile` (avoid the dependency error when directories creating) #103

Open jin3110 opened 9 years ago

jin3110 commented 9 years ago

Fixed browser-api/common/Makefile (avoid the dependency error when directories creating)

Needed to remove the "/"(slash) directories name at the end.

(NG) .../browser-ext/login/build/chrome/release/ (OK) .../browser-ext/login/build/chrome/release

  • BEFORE
$ cd browser-ext/login
$ gmake -n
kzjs_srouces = ../api/build/node/lib/node_modules/keyczarjs/*.js
forge_srouces = ../api/build/node/lib/node_modules/keyczarjs/node_modules/node-forge/js/*.js
gmake: *** No rule to make target `/home/vagrant/mitro/browser-ext/login/build/chrome/release/', needed by `/home/vagrant/mitro/browser-ext/login/build/chrome/release/utils.js'.  Stop.

$ gmake --version
GNU Make 3.82
$ gmake -n
kzjs_srouces = ../api/build/node/lib/node_modules/keyczarjs/*.js
forge_srouces = ../api/build/node/lib/node_modules/keyczarjs/node_modules/node-forge/js/*.js
mkdir -p /home/vagrant/mitro/browser-ext/login/build/chrome/release
echo /home/vagrant/mitro/browser-ext/login/build/chrome/release/utils.js
...