[Pkg-javascript-commits] [node-bluebird] 01/03: Install the bluebird.js from js/Main
Ross Gammon
ross-guest at moszumanska.debian.org
Mon Mar 9 20:01:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository node-bluebird.
commit 96c16ef73319a635a2af615dac9f58e7ef6ecd44
Author: Ross Gammon <rossgammon at mail.dk>
Date: Mon Mar 9 20:39:51 2015 +0100
Install the bluebird.js from js/Main
The source bluebird.js should not be installed. Only the version
produced by the build.js --main option works.
---
debian/node-bluebird.install | 5 +++--
debian/rules | 4 ++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/node-bluebird.install b/debian/node-bluebird.install
index c84e3d3..4f9825d 100644
--- a/debian/node-bluebird.install
+++ b/debian/node-bluebird.install
@@ -1,2 +1,3 @@
-src/* usr/lib/nodejs/bluebird/js/main/
-package.json usr/lib/nodejs/bluebird/
+js/main/bluebird.js usr/lib/nodejs/bluebird/
+src/* usr/lib/nodejs/bluebird/
+package.json usr/lib/nodejs/bluebird/
diff --git a/debian/rules b/debian/rules
index df06dce..28e08e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,7 @@ override_dh_auto_build:
override_dh_installchangelogs:
dh_installchangelogs changelog.md
+override_dh_install:
+ # Remove bluebird.js, install only the one from the main directiory
+ rm -f $(CURDIR)/src/bluebird.js
+ dh_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bluebird.git
More information about the Pkg-javascript-commits
mailing list