[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 25a461280eff33ddecd2c9af8deccc6f8fb90979
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Dec 11 22:56:15 2012 +0100
patch: modify build_dir according to target
diff --git a/debian/patches/modify_build_dir.patch b/debian/patches/modify_build_dir.patch
new file mode 100644
index 0000000..f4c1088
--- /dev/null
+++ b/debian/patches/modify_build_dir.patch
@@ -0,0 +1,29 @@
+Description: modify build_dir according to the target
+ We do not want the prepared files to be wiped out before they get installed
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2012-12-11
+
+--- a/tools/build.py
++++ b/tools/build.py
+@@ -270,8 +270,10 @@
+ content = compress_content(tools_path, open(filename).read(), 'css')
+ open(os.path.join(build_style_path, '%s.min.css' % style), 'w').write(content)
+
+-def build(buildfunc, root, languages, options):
+- build_path = os.path.join(root, 'build')
++def build(buildfunc, root, languages, options, build_path):
++ #build_path = os.path.join(root, 'build')
++ print build_path
++ print "--------"
+ if os.path.exists(build_path):
+ shutil.rmtree(build_path)
+ os.mkdir(build_path)
+@@ -302,4 +304,7 @@
+ print 'Unknown target:', options.target
+ sys.exit(1)
+ root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+- build(buildfunc, root, args, options)
++ bpath = os.path.join(root, 'build_'+options.target)
++ print bpath
++ print "==========="
++ build(buildfunc, root, args, options, bpath)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fc926bb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+modify_build_dir.patch
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
--
highlight.js: syntax highlighting library for many languages
More information about the Pkg-javascript-commits
mailing list