[Pkg-javascript-commits] [datatables-extensions] 14/17: Install also uncompressed files
Andreas Tille
tille at debian.org
Wed Jan 3 07:44:02 UTC 2018
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository datatables-extensions.
commit 85fb4f86613371de3be50dad63c8b45300b76ca1
Author: Andreas Tille <tille at debian.org>
Date: Wed Jan 3 08:37:12 2018 +0100
Install also uncompressed files
---
debian/install | 1 +
debian/rules | 13 ++++---------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..c6a3574
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+[A-Z]* usr/share/javascript/jquery-datatables-extensions
diff --git a/debian/rules b/debian/rules
index c8a7126..c8e1865 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,19 +2,14 @@
# DH_VERBOSE := 1
-TARGETDIR=$(CURDIR)/debian/`dh_listpackages`/usr/share/javascript/jquery-datatables-extensions
-
%:
dh $@
override_dh_install:
dh_install
- mkdir -p $(TARGETDIR)
- for min in `find [A-Z]* -name "*.min.js"` ; do \
- mkdir -p $(TARGETDIR)/`dirname $${min}` ; \
- closure-compiler --charset 'utf-8' --js `echo $${min} | sed 's/\.min//'` --js_output_file $(TARGETDIR)/$${min} ; \
+ for min in `find debian -name "*.min.js"` ; do \
+ closure-compiler --charset 'utf-8' --js `echo $${min} | sed 's/\.min//'` --js_output_file $${min} ; \
done
- for min in `find [A-Z]* -name "*.min.css"` ; do \
- mkdir -p $(TARGETDIR)/`dirname $${min}` ; \
- sass --scss --stop-on-error --style compressed `echo $${min} | sed 's/\.min//'` > $(TARGETDIR)/$${min} ; \
+ for min in `find debian -name "*.min.css"` ; do \
+ sass --scss --stop-on-error --style compressed `echo $${min} | sed 's/\.min//'` > $${min} ; \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/datatables-extensions.git
More information about the Pkg-javascript-commits
mailing list