[Pkg-javascript-commits] [ltx] 61/80: Simplify rules file. Build-depend on devscripts, to always check copyright during build.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:50:13 UTC 2016


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

js pushed a commit to branch master
in repository ltx.

commit ccd0b202c2417206556cc12c1db833f19c672e5b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Nov 15 01:39:08 2012 +0100

    Simplify rules file. Build-depend on devscripts, to always check copyright during build.
---
 debian/rules | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index ef9818b..ac85589 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,28 +16,24 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
--include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-libpkgname = node-ltx
+pkg = node-ltx
 
 deps = node-node-expat
 CDBS_BUILD_DEPENDS += , $(deps), node-vows
-CDBS_DEPENDS_$(libpkgname) = $(deps), node-sax, nodejs
-CDBS_SUGGESTS_$(libpkgname) = node-easysax, node-xml
-CDBS_ENHANCES_$(libpkgname) = browserify
-
-# suppress optional build-dependencies
-CDBS_BUILD_DEPENDS_rules_upstream-tarball =
-CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
+CDBS_DEPENDS_$(pkg) = $(deps), node-sax, nodejs
+CDBS_SUGGESTS_$(pkg) = node-easysax, node-xml
+CDBS_ENHANCES_$(pkg) = browserify
 
 DEB_UPSTREAM_URL = https://github.com/astro/ltx/archive
 DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_TARBALL_MD5 = bb6448a9603dfc26f0eeb4a35f527849
 
 # TODO: Simply do "vows --spec" when upstream issue#6 is solved
-build/$(libpkgname)::
+build/$(pkg)::
 	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,find test -type f -name '*.js' -not -name parse-test.js -exec vows '{}' +)
 
-DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
+DEB_INSTALL_DOCS_$(pkg) += README.markdown

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



More information about the Pkg-javascript-commits mailing list