[Pkg-javascript-commits] [etherpad-lite] 12/17: Change node executable to nodejs
Paolo Greppi
paolog-guest at moszumanska.debian.org
Wed Dec 14 21:56:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository etherpad-lite.
commit c8e9e7e6346229afe79c02f7cd069b7cb05c040e
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Wed Dec 14 21:00:44 2016 +0000
Change node executable to nodejs
---
debian/patches/00-nodejs.diff | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/00-nodejs.diff b/debian/patches/00-nodejs.diff
new file mode 100644
index 0000000..1ba8af5
--- /dev/null
+++ b/debian/patches/00-nodejs.diff
@@ -0,0 +1,26 @@
+Description: Change node executable to nodejs.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: etherpad-lite/Makefile
+===================================================================
+--- etherpad-lite.orig/Makefile
++++ etherpad-lite/Makefile
+@@ -3,7 +3,7 @@ outdoc_files = $(addprefix out/,$(doc_so
+
+ docassets = $(addprefix out/,$(wildcard doc/assets/*))
+
+-VERSION = $(shell node -e "console.log( require('./src/package.json').version )")
++VERSION = $(shell nodejs -e "console.log( require('./src/package.json').version )")
+ UNAME := $(shell uname -s)
+
+ docs: $(outdoc_files) $(docassets)
+@@ -14,7 +14,7 @@ out/doc/assets/%: doc/assets/%
+
+ out/doc/%.html: doc/%.md
+ mkdir -p $(@D)
+- node bin/doc/generate.js --format=html --template=doc/template.html $< > $@
++ nodejs bin/doc/generate.js --format=html --template=doc/template.html $< > $@
+ ifeq ($(UNAME),Darwin)
+ sed -i '' 's/__VERSION__/${VERSION}/' $@
+ else
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8390d98
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-nodejs.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/etherpad-lite.git
More information about the Pkg-javascript-commits
mailing list