diff --git a/Makefile b/Makefile index c007d32..a234fed 100644 --- a/Makefile +++ b/Makefile @@ -69,4 +69,4 @@ nv.d3.css: Makefile clean: - rm -rf nv.d3.js nv.d3.min.js nv.d3.css nv.d3.min.css + rm -rf nv.d3*.js nv.d3*.css diff --git a/README.md b/README.md index 1028606..7c61aa4 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,15 @@ The easiest way to install UglifyJS and CSSMin is via npm. Run `npm install -g u Once you have the `uglifyjs` and `cssmin` commands available, running `make` from your fork's root directory will rebuild both `nv.d3.js` and `nv.d3.min.js`. -Without UglifyJS of CSSMin, you won't get the minified versions when running make. + make # build nv.d3.js and nv.d3.css and minify + make nv.d3.js # Build nv.d3.js + make nv.d3.min.js # Minify nv.d3.js into nv.d3.min.js + make nv.d3.css # Build nv.d3.css + make nv.d3.min.css # Minify nv.d3.css into nv.d3.min.css + make clean # Delete nv.d3.*js and nv.d3.*css + + +*Without UglifyJS of CSSMin, you won't get the minified versions when running make.** ### Using Grunt