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.

_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to