[Pkg-javascript-commits] [SCM] highlight.js: syntax highlighting library for many languages branch, master, updated. upstream/7.3-12-gdc3dbe2

Cédric Boutillier boutil at debian.org
Thu May 30 16:45:23 UTC 2013


The following commit has been merged in the master branch:
commit 46fe8dceef7ee3a00eb3e8403c9423528676303a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue May 21 13:50:33 2013 +0200

    build documentation

diff --git a/debian/control b/debian/control
index 9aecbb8..9ba8e18 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,11 @@ 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
+Build-Depends: debhelper (>= 9), node-uglify | yui-compressor, python, 
+ python-sphinx,
+ texlive-latex-base,
+ texlive-latex-extra,
+ texlive-fonts-recommended
 Standards-Version: 3.9.4
 Homepage: http://softwaremaniacs.org/soft/highlight/en/
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/highlight.js
@@ -34,3 +38,16 @@ Description: JavaScript library for syntax highlighting - NodeJS
  with more than twenty style themes.
  .
  This package contains the library highlight.js usable as a NodeJS module.
+
+Package: highlight.js-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, libjs-sphinxdoc
+Description: JavaScript library for syntax highlighting - documentation
+ 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 documentation of this library.
diff --git a/debian/rules b/debian/rules
index 1bfa147..e2772e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
 %:
 	dh $@
 
-override_dh_auto_build:
+override_dh_auto_build: build_doc
 	python tools/build.py -n
 	python tools/build.py -tnode
 	$(js-compressor) -o build_browser/highlight.min.js build_browser/highlight.pack.js
@@ -14,4 +14,9 @@ override_dh_auto_build:
 override_dh_clean:
 	dh_clean
 	rm -rf build_browser/ build_node/
+	rm -rf docs/_build/*
+
+build_doc:
+	$(MAKE) -C docs/ html
+	$(MAKE) -C docs/ latexpdf
 

-- 
highlight.js: syntax highlighting library for many languages



More information about the Pkg-javascript-commits mailing list