[Pkg-javascript-commits] [mathjax] 04/05: Delete original compressed files instead of moving them.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sat Jan 2 11:41:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository mathjax.
commit 6a6a22658495ef050496c6eb9a5175013e52753f
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Sat Jan 2 14:37:37 2016 +0300
Delete original compressed files instead of moving them.
---
debian/changelog | 2 ++
debian/rules | 14 ++------------
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 670003c..fdc8cd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mathjax (2.6.0-1) UNRELEASED; urgency=medium
* New upstream release.
* Update debian/watch to properly handle upstream beta releases.
* Update combiner code to the latest upstream version.
+ * Delete original compressed files instead of moving them, to simplify
+ the build process.
-- Dmitry Shachnev <mitya57 at debian.org> Sat, 02 Jan 2016 14:28:16 +0300
diff --git a/debian/rules b/debian/rules
index e712132..9030fcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,20 +6,10 @@
dh $@
override_dh_auto_build:
- mkdir old-compressed
- mv MathJax.js config/ extensions/ jax/ localization/ old-compressed/
- mv fonts/HTML-CSS/TeX/png/imagedata.js old-compressed/
./debian/packer/packMJ
./debian/packer/packMJfonts
./debian/combiner/combineMJ --force
- dh_auto_build
override_dh_auto_clean:
- dh_auto_clean
- # Revert original compressed files
- if [ -d old-compressed ]; then \
- rm -rf MathJax.js config/ extensions/ jax/ localization/; \
- mv old-compressed/imagedata.js fonts/HTML-CSS/TeX/png/; \
- mv old-compressed/* .; \
- rm -r old-compressed/; \
- fi
+ rm -rfv config/ extensions/ jax/ localization/
+ rm -fv MathJax.js fonts/HTML-CSS/TeX/png/imagedata.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax.git
More information about the Pkg-javascript-commits
mailing list