[Pkg-javascript-commits] [leaflet-markercluster] 124/128: Normalize library files to use .min suffix.

Jonas Smedegaard dr at jones.dk
Sun Apr 16 06:26:10 UTC 2017


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

js pushed a commit to branch master
in repository leaflet-markercluster.

commit 35da9cf0f16009031370d7666ff82e88a1c5eaf5
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Apr 15 22:38:42 2017 +0200

    Normalize library files to use .min suffix.
---
 debian/rules | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7fea5eb..238885a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,7 @@ js-destdir = /usr/share$(js-destwebdir)
 exampledir = $(cdbs_curdestdir)usr/share/doc/$(cdbs_curpkg)/examples
 
 # install files to the js-dest-dir as defined by javascript-common
-DEB_DH_INSTALL_ARGS_$(pkg) = dist/* $(js-destdir)
+DEB_DH_INSTALL_ARGS_$(pkg) = debian/js/* dist/*.css $(js-destdir)
 
 # install documentation
 DEB_INSTALL_DOCS_$(pkg) = README.md
@@ -56,10 +56,13 @@ DEB_INSTALL_EXAMPLES_$(pkg) = example/*
 build/$(pkg):: debian/stamp-jake
 debian/stamp-jake:
 	jake
+	mkdir -p debian/js
+	mv -f dist/leaflet.markercluster.js debian/js/leaflet.markercluster.min.js
+	mv -f dist/leaflet.markercluster-src.js debian/js/leaflet.markercluster.js
 	touch $@
 clean::
 	rm -f debian/stamp-jake
-	rm -f dist/*.js
+	rm -rf debian/js
 
 # drop examples needing DFSG-nonfree or raw source files
 binary-post-install/$(pkg)::

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list