[Pkg-javascript-commits] [SCM] highlight.js: syntax highlighting library for many languages branch, master, updated. upstream/7.3-5-g25a4612
Cédric Boutillier
boutil at debian.org
Tue Dec 11 22:14:43 UTC 2012
The following commit has been merged in the master branch:
commit d86dbd02bfe6f2d27f0f48c1be3fc2be3215b806
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Dec 11 22:47:24 2012 +0100
add debian control and rules files
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0574a3f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: highlight.js
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Cédric Boutillier <boutil at debian.org>
+Build-Depends: debhelper (>= 9), node-uglify | yui-compressor, python
+Standards-Version: 3.9.4
+Homepage: http://softwaremaniacs.org/soft/highlight/en/
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/highlight.js
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/highlight.js.git;a=summary
+
+Package: libjs-highlight
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JavaScript library to make animated presentations
+ Highlight.js is a JavaScript library which automatically detects the
+ language of code blocks in a web page, and provides syntax highlighting
+ for them. The library supports more than fifty languages and is bundled
+ with more than twenty style themes.
+ .
+ This package contains the library highlight.js usable in a web browser.
+
+Package: node-highlight
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: javascript-common, nodejs
+Description: JavaScript library to make animated presentations - NodeJS
+ Highlight.js is a JavaScript library which automatically detects the
+ language of code blocks in a web page, and provides syntax highlighting
+ for them. The library supports more than fifty languages and is bundled
+ with more than twenty style themes.
+ .
+ This package contains the library highlight.js usable as a NodeJS module.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1bfa147
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ python tools/build.py -n
+ python tools/build.py -tnode
+ $(js-compressor) -o build_browser/highlight.min.js build_browser/highlight.pack.js
+
+override_dh_clean:
+ dh_clean
+ rm -rf build_browser/ build_node/
+
--
highlight.js: syntax highlighting library for many languages
More information about the Pkg-javascript-commits
mailing list