[Pkg-javascript-commits] [node-hooker] 01/01: some updates

matthew pideil mpideil-guest at moszumanska.debian.org
Mon Mar 31 12:29:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

mpideil-guest pushed a commit to branch master
in repository node-hooker.

commit 222e9f3b69e306bf232307b6829cd0bae9dd5c34
Author: Matthew Pideil <matthewp_debian at teledetection.fr>
Date:   Mon Mar 31 12:19:25 2014 +0000

    some updates
---
 debian/control               | 27 ++++++++++++++-------------
 debian/libjs-hooker.docs     |  1 +
 debian/libjs-hooker.examples |  1 +
 debian/libjs-hooker.install  |  1 +
 debian/node-hooker.docs      |  1 +
 debian/node-hooker.examples  |  1 +
 debian/node-hooker.install   |  1 +
 debian/rules                 |  7 +++++--
 8 files changed, 25 insertions(+), 15 deletions(-)

diff --git a/debian/control b/debian/control
index 591850e..80c4457 100644
--- a/debian/control
+++ b/debian/control
@@ -3,33 +3,34 @@ Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Matthew Pideil <matthewp_debian at teledetection.fr>
-Build-Depends: debhelper (>= 9.0.0), node-uglify | yui-compressor
+Build-Depends: debhelper (>= 9.0.0),
+ node-uglify | yui-compressor
 Standards-Version: 3.9.5
 Homepage: http://github.com/cowboy/javascript-hooker
-Vcs-Git: git://git.debian.org/pkg-javascript/node-hooker.git
-Vcs-Browser: http://git.debian.org/?p=pkg-javascript/node-hooker.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-hooker.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-hooker.git
 
 Package: node-hooker
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, nodejs
-Description: Usefull debugging library for Node.js
+Description: Useful debugging library for Node.js
  Node is an event-based server-side JavaScript engine.
  .
  Hooker is a monkey-patch (hook) functions for debugging and stuff.
  .
- Hooker provides 4 functions that include 'hook' and 'unhook', usefull
- for debugging an object call, as well as a 'override' function if you
- want to replace the result of a function.
+ Hooker provides 4 functions that include 'hook' and 'unhook', useful
+ for debug object call, as well as an 'override' function to
+ replace the return of a function.
 
 Package: libjs-hooker
 Architecture: all
 Depends: ${misc:Depends},
  nodejs
-Description: Usefull javascript debugging library usable in a browser
- Node is an event-based server-side JavaScript engine.
+Description: Useful javascript debugging library usable in a browser
+ This is the javascript library of hooker Node.js module.
  .
  Hooker is a monkey-patch (hook) functions for debugging and stuff.
  .
- Hooker provides 4 functions that include 'hook' and 'unhook', usefull
- for debugging an object call, as well as a 'override' function if you
- want to replace the result of a function.
+ Hooker provides 4 functions that include 'hook' and 'unhook', useful
+ for debug an object call, as well as an 'override' function if you
+ want to replace the return of a function.
diff --git a/debian/libjs-hooker.docs b/debian/libjs-hooker.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libjs-hooker.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libjs-hooker.examples b/debian/libjs-hooker.examples
new file mode 100644
index 0000000..9daeafb
--- /dev/null
+++ b/debian/libjs-hooker.examples
@@ -0,0 +1 @@
+test
diff --git a/debian/libjs-hooker.install b/debian/libjs-hooker.install
new file mode 100644
index 0000000..487fc1f
--- /dev/null
+++ b/debian/libjs-hooker.install
@@ -0,0 +1 @@
+debian/build/*	/usr/share/javascript/
diff --git a/debian/node-hooker.docs b/debian/node-hooker.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/node-hooker.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/node-hooker.examples b/debian/node-hooker.examples
new file mode 100644
index 0000000..9daeafb
--- /dev/null
+++ b/debian/node-hooker.examples
@@ -0,0 +1 @@
+test
diff --git a/debian/node-hooker.install b/debian/node-hooker.install
new file mode 100644
index 0000000..d2f9125
--- /dev/null
+++ b/debian/node-hooker.install
@@ -0,0 +1 @@
+debian/build/* /usr/lib/nodejs/
diff --git a/debian/rules b/debian/rules
index 08ea74e..0f4f767 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ export DH_OPTIONS
 %:
 	dh $@ 
 
+override_dh_auto_clean:
+	rm -rf debian/build
+
 override_dh_auto_build:
 	dh_auto_build
 	if [ ! -d debian/build ]; \
@@ -20,6 +23,6 @@ override_dh_auto_build:
 	fi; \
 	for _FILE in lib/*.js ; \
 	do \
-#		$(js-compressor)  -o $$(dirname $${_FILE})/$$(basename $${_FILE} .js).min.js $${_FILE}; \
-		$(js-compressor)  -o debian/build/$$(basename $${_FILE} .js).js $${_FILE}; \
+		cp $${_FILE} debian/build/; \
+		$(js-compressor)  -o debian/build/$$(basename $${_FILE} .js).min.js $${_FILE}; \
 	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-hooker.git



More information about the Pkg-javascript-commits mailing list