[xml/sgml-commit] [xml-core] 05/13: Add a xml-core debhelper sequencer

Mattia Rizzolo mattia at debian.org
Fri Sep 30 16:59:02 UTC 2016


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

mattia pushed a commit to branch master
in repository xml-core.

commit df9873fe59c0c0575317c08e79acf10307cdc2dc
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Sep 30 16:37:40 2016 +0000

    Add a xml-core debhelper sequencer
    
    Thanks: Jack Bates <ms419 at freezone.co.uk> for the providing it
    
    Closes: #575770
---
 debhelper/Makefile    | 10 ++++++++++
 debhelper/xml_core.pm |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/debhelper/Makefile b/debhelper/Makefile
index bc58186..34c1dfc 100644
--- a/debhelper/Makefile
+++ b/debhelper/Makefile
@@ -8,6 +8,7 @@ include ../MAKE/include
 ## ----------------------------------------------------------------------
 ## Debhelper directory definitions
 debhelper_dir	= $(share_dir)/debhelper
+dh_sequences_dir = $(share_dir)/perl5/Debian/Debhelper/Sequence
 autoscripts_dir	= $(debhelper_dir)/autoscripts
 
 ## ----------------------------------------------------------------------
@@ -18,6 +19,8 @@ autoscripts	= \
 		prerm-xmlcatalog
 dh_scripts	= \
 		dh_installxmlcatalogs
+dh_sequences = \
+		xml_core.pm
 man1s		= \
 		$(addsuffix .$(man1_ext),$(dh_scripts))
 
@@ -46,6 +49,13 @@ install:
 		done
 
 		set -e; \
+		$(INSTALL_DIR) $(dh_sequences_dir); \
+		for f in $(dh_sequences); \
+		do \
+			$(INSTALL_FILE) $${f} $(dh_sequences_dir); \
+		done
+
+		set -e; \
 		$(INSTALL_DIR) $(man1_dir); \
 		for f in $(man1s); \
 		do \
diff --git a/debhelper/xml_core.pm b/debhelper/xml_core.pm
new file mode 100644
index 0000000..073793a
--- /dev/null
+++ b/debhelper/xml_core.pm
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+insert_after('dh_installcatalogs', 'dh_installxmlcatalogs');
+
+1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xml-core.git



More information about the debian-xml-sgml-commit mailing list