[med-svn] [Git][med-team/q2templates][master] Remove embedded JS files and link against existing ones
Liubov Chuprikova
gitlab at salsa.debian.org
Fri Jun 7 17:35:40 BST 2019
Liubov Chuprikova pushed to branch master at Debian Med / q2templates
Commits:
6d61c4cc by Liubov Chuprikova at 2019-06-07T16:35:17Z
Remove embedded JS files and link against existing ones
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -17,6 +17,16 @@ export LC_ALL=C.UTF-8
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PYBUILD_BEFORE_BUILD=rm -rf {dir}/q2templates/templates/assets/fonts; \
+ rm {dir}/q2templates/templates/assets/css/normalize.css
+
+export PYBUILD_AFTER_INSTALL=ln -s /usr/share/javascript/bootstrap/js/bootstrap.min.js \
+ {destdir}/{install_dir}/q2templates/templates/assets/js/bootstrap.min.js; \
+ ln -s /usr/share/javascript/jquery/jquery.min.js \
+ {destdir}/{install_dir}/q2templates/templates/assets/js/jquery.min.js; \
+ ln -s /usr/share/javascript/normalize.css/normalize.css \
+ {destdir}/{install_dir}/q2templates/templates/assets/css/normalize.css
+
%:
dh $@ --with python3 --buildsystem=pybuild
View it on GitLab: https://salsa.debian.org/med-team/q2templates/commit/6d61c4ccdb5085e4f59d9647f6038aec52b029cd
--
View it on GitLab: https://salsa.debian.org/med-team/q2templates/commit/6d61c4ccdb5085e4f59d9647f6038aec52b029cd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190607/7d8145f4/attachment.html>
More information about the debian-med-commit
mailing list