[SCM] librdf-endpoint-perl Debian packaging branch, master, updated. debian/0.04-1-27-gaed461e

Jonas Smedegaard dr at jones.dk
Tue Jun 12 21:02:13 UTC 2012


The following commit has been merged in the master branch:
commit 03e44eae8d0968106745ce8fda579863158387c3
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jun 12 22:48:50 2012 +0200

    Fix add symlink to Codemirror, and tidy rules file.

diff --git a/debian/rules b/debian/rules
index 1f5b284..632d31f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,8 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
 DEB_UPSTREAM_PACKAGE = RDF-Endpoint
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/RDF
 #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS
@@ -41,18 +43,18 @@ deps-test = $(patsubst %,$(comma) libtest-%-perl,$(perl-deps-test))
 recommends = libjs-codemirror, libconfig-jfdi-perl
 
 CDBS_BUILD_DEPENDS += , $(deps), $(deps-test)
-CDBS_DEPENDS = $(deps)
-CDBS_RECOMMENDS = $(recommends)
-CDBS_SUGGESTS = $(suggests)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS_$(pkg) = $(recommends)
+CDBS_SUGGESTS_$(pkg) = $(suggests)
 
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(share/www/favicon\.ico|debian/(changelog|copyright(|_hints|_newhints)))$
 
-DEB_INSTALL_EXAMPLES_DEFAULT = rdf_*.json debian/uwsgi
+DEB_INSTALL_EXAMPLES_$(pkg) = rdf_*.json debian/uwsgi
 
-common-binary-post-install-indep::
+binary-post-install/$(pkg)::
 	mv $(DEB_DESTDIR)/usr/bin $(DEB_DESTDIR)/usr/share/librdf-endpoint-perl
 
-common-binary-post-install-indep::
+binary-post-install/$(pkg)::
 	find $(DEB_DESTDIR)usr/share/perl5/auto/share/dist/RDF-Endpoint/www/js -type f -not -name codemirror-config.js -delete
 	rm -f $(DEB_DESTDIR)usr/share/perl5/auto/share/dist/RDF-Endpoint/www/css/sparqlcolors.css
 

-- 
librdf-endpoint-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list