[Pkg-javascript-commits] [leaflet-markercluster] 14/49: debian/rules cleanup

Jonas Smedegaard js at moszumanska.debian.org
Tue Jan 28 17:54:46 UTC 2014


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

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

commit 43bac20fb3a7f411a1772b73c6c2a43fefb2a87d
Author: Andrew Harvey <andrew.harvey4 at gmail.com>
Date:   Sat Nov 24 17:37:35 2012 +1100

    debian/rules cleanup
---
 debian/rules | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ff36eb9..44138e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+# package variables
 libname = leaflet-markercluster
 pkg = libjs-leaflet-markercluster
 
@@ -30,18 +31,27 @@ CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
 
 CDBS_BUILD_DEPENDS += , node-uglify , node-jake
 
+#
+# Upstream tarball settings
+#
+
 DEB_UPSTREAM_URL = https://github.com/danzel/Leaflet.markercluster/archive
 DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_TARBALL_SRCDIR = Leaflet.markercluster-$(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_TARBALL_MD5 = 1d6184f7757454d8c8bc4ef7d14df34d
 
+
+#
+# Upstream tarball repackaging
+#
+
 DEB_UPSTREAM_REPACKAGE_TAG = dfsg.1
 DEB_UPSTREAM_REPACKAGE_DELIMITER = +
 
 # Remove upstream shipped autogenerated files
 DEB_UPSTREAM_REPACKAGE_EXCLUDES = dist/leaflet.markercluster.js dist/leaflet.markercluster-src.js
 
-# Remove upstream shipped example data which has unclear licensing
+# Remove upstream shipped example data which have unclear licensing
 DEB_UPSTREAM_REPACKAGE_EXCLUDES += \
     example/realworld.388.js \
     example/realworld.10000.js \
@@ -51,6 +61,11 @@ DEB_UPSTREAM_REPACKAGE_EXCLUDES += \
 # Remove files which don't do anything
 DEB_UPSTREAM_REPACKAGE_EXCLUDES += .gitignore
 
+
+#
+# Installation
+#
+
 js-destdir = /usr/share/javascript/$(libname)
 
 # install files to the js-dest-dir as defined by javascript-common
@@ -59,7 +74,14 @@ DEB_DH_INSTALL_ARGS_$(pkg) = dist/* $(js-destdir)
 # install documentation
 DEB_INSTALL_DOCS_$(pkg) = README.md example/
 
+# install upstream changelog
 DEB_INSTALL_CHANGELOGS_$(pkg) = CHANGELOG.md
 
+
+#
+# Build
+#
+
+# rule for building project from source
 build/$(pkg)::
 	jake

-- 
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