[Pkg-javascript-commits] [uglifyjs] 09/18: Update and simplify index.js juggling.
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 20:30:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master-experimental
in repository uglifyjs.
commit 7fbcec88a3d030977c7aa04acae9435f6f3fdeb3
Author: Jonas Smedegaard <dr at jones.dk>
Date: Fri May 2 12:19:45 2014 +0200
Update and simplify index.js juggling.
---
debian/node-uglify.install | 1 -
debian/node-uglify.links | 1 -
debian/rules | 9 ++++++---
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/node-uglify.install b/debian/node-uglify.install
index 1219fbe..a34ad11 100644
--- a/debian/node-uglify.install
+++ b/debian/node-uglify.install
@@ -1,3 +1,2 @@
bin/uglifyjs /usr/bin/
lib/* /usr/lib/nodejs/uglify-js/
-uglify-js.js /usr/lib/nodejs/uglify-js/
diff --git a/debian/node-uglify.links b/debian/node-uglify.links
deleted file mode 100644
index 46c3eea..0000000
--- a/debian/node-uglify.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/nodejs/uglify-js/uglify-js.js usr/lib/nodejs/uglify-js/index.js
diff --git a/debian/rules b/debian/rules
index a2a3e51..a8d5eb5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,12 @@ pkg = node-uglify
DEB_UPSTREAM_URL = https://github.com/mishoo/UglifyJS2/archive
DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
-# Unset executable bit on library file
-binary-fixup/$(pkg)::
- chmod -x debian/node-uglify/usr/lib/nodejs/uglify-js/process.js
+common-build-indep:: debian/stamp-build
+debian/stamp-build:
+ cp tools/node.js lib/index.js
+ touch $@
+clean::
+ rm -f debian/stamp-build lib/index.js
CDBS_DEPENDS_$(pkg) = nodejs, node-async (>= 0.2.6), node-optimist
# TODO: recommend node-source-map when available in Debian
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list