(dist) fix version extraction in Makefile

This commit is contained in:
cloudhead 2010-06-07 05:08:52 -04:00
parent 3a28c3a6a5
commit 1146363b8e

View File

@ -16,7 +16,7 @@ benchmark:
SRC = lib/less SRC = lib/less
HEADER = build/header.js HEADER = build/header.js
VERSION = `cat package.json | grep version \ VERSION = `cat package.json | grep version \
| grep -o '[0-9]\.[0-9]\.[0-9]'` | grep -o '[0-9]\.[0-9]\.[0-9]\+'`
DIST = dist/less-${VERSION}.js DIST = dist/less-${VERSION}.js
DIST_MIN = dist/less-${VERSION}.min.js DIST_MIN = dist/less-${VERSION}.min.js