[Pkg-javascript-commits] [SCM] javascript code quality tool that aims to catch basic errors branch, master, updated. 591b25a703a693f0559b1008b6e6969402c6515d

Paul Tagliamonte tag at pault.ag
Sun Jul 15 15:52:58 UTC 2012


The following commit has been merged in the master branch:
commit 591b25a703a693f0559b1008b6e6969402c6515d
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jul 15 11:55:24 2012 -0400

    Small fixes to the docs

diff --git a/debian/manpages/jslint.txt b/debian/manpages/jslint.txt
index 9a8c847..53e432b 100644
--- a/debian/manpages/jslint.txt
+++ b/debian/manpages/jslint.txt
@@ -1,4 +1,4 @@
-sb(1)
+jslint(1)
 =====
 Paul Tagliamonte <paultag at debian.org>
 July 15st 2012
diff --git a/debian/docs b/debian/node-jslint.docs
similarity index 100%
rename from debian/docs
rename to debian/node-jslint.docs
diff --git a/debian/install b/debian/node-jslint.install
similarity index 100%
rename from debian/install
rename to debian/node-jslint.install
diff --git a/debian/node-jslint.manpages b/debian/node-jslint.manpages
new file mode 100644
index 0000000..15bf7a3
--- /dev/null
+++ b/debian/node-jslint.manpages
@@ -0,0 +1 @@
+debian/jslint.1
diff --git a/debian/rules b/debian/rules
index a311322..3171e12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,16 +4,21 @@
 	dh $@
 
 override_dh_auto_build:
-	@echo "Dummy target"
+	asciidoc -b docbook -d manpage -o debian/manpages/jslint.xml \
+	                                  debian/manpages/jslint.txt
+	xmlto man debian/manpages/jslint.xml -o debian/
+
+override_dh_auto_clean:
+	rm -rvf manpages/jslint.xml \
+	        jslint.1
 
 override_dh_auto_install:
 	@echo "Dummy target"
+# We use the dummy target since the build makefile wishes to call
+# npm to do the lifting. let's just ignore all that.
 
 override_dh_install:
 	# OK, after we install jslint.js, we should move it to a sane name.
 	dh_install
 	mv $(CURDIR)/debian/node-jslint/usr/bin/jslint.js \
 	   $(CURDIR)/debian/node-jslint/usr/bin/jslint
-
-# We use the two dummy targets, since the build makefile wishes to call
-# npm to do the lifting. let's just ignore all that.

-- 
javascript code quality tool that aims to catch basic errors



More information about the Pkg-javascript-commits mailing list