[Pkg-javascript-commits] [eonasdan-bootstrap-datetimepicker] 03/06: Defering the installation of docs to a separate doc package.

Mathias Behrle mbehrle at moszumanska.debian.org
Thu Sep 8 12:12:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

mbehrle pushed a commit to branch master
in repository eonasdan-bootstrap-datetimepicker.

commit e577aa7c5b0c65a55b4660a73ef40ab4cf515589
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 6 18:28:56 2016 +0200

    Defering the installation of docs to a separate doc package.
    
    Building the docs in a policy conformant way will pull in quite a number of
    dependencies, that will bloat the base package. Thus a separate doc
    package should be justified.
---
 debian/docs  |  1 -
 debian/rules | 11 +++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index d8f8d46..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-docs
diff --git a/debian/rules b/debian/rules
index 00d1fbe..c6b8d11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,17 @@ override_dh_auto_clean:
 	rm -rf src/nuget/
 	rm -f *.css
 	rm -f *.js
+	# Remove docs directory for now, as there are number of references to prebuilt or downloaded files as:
+	## source-contains-prebuilt-javascript-object docs/theme/js/prettify-1.0.min.js
+	## privacy-breach-generic usr/share/doc/libjs-eonasdan-bootstrap-datetimepicker/docs/theme/base.html (https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js)
+	## privacy-breach-generic usr/share/doc/libjs-eonasdan-bootstrap-datetimepicker/docs/theme/base.html (https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js)
+	## privacy-breach-uses-embedded-file usr/share/doc/libjs-eonasdan-bootstrap-datetimepicker/docs/theme/base.html You may use libjs-jquery package. (//code.jquery.com/jquery-2.1.1.min.js)
+	## privacy-breach-uses-embedded-file usr/share/doc/libjs-eonasdan-bootstrap-datetimepicker/docs/theme/base.html You may use libjs-bootstrap package. (//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js)
+	## privacy-breach-generic usr/share/doc/libjs-eonasdan-bootstrap-datetimepicker/docs/theme/base.html (//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css)
+	## as well as number of duplicated image files
+	# To avoid bloating the depends of this very package it will finally be better to create a separate doc package
+	rm -rf docs/
+ 
 
 override_dh_auto_build:
 	# grunt is not (yet) packaged (#673727), so we mimic the tasks

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/eonasdan-bootstrap-datetimepicker.git



More information about the Pkg-javascript-commits mailing list