[Pkg-cli-libs-commits] [SCM] ironruby branch, master, updated. debian/20090805+git.e6b28d27+dfsg-3-8-g2ec3803

Carlos Martín Nieto cmn at dwim.me
Sun Jun 30 02:37:33 UTC 2013


The following commit has been merged in the master branch:
commit 2ec3803776276dbd829e3cf047eb3a3ca392ae1e
Author: Carlos Martín Nieto <cmn at dwim.me>
Date:   Sun Jun 30 04:17:52 2013 +0200

    Don't depend on perl-doc
    
    Ship a pre-built version of the irake manpage which removes the
    build-time perl-doc dependency. The rule is still there in case we
    want to update it.

diff --git a/debian/control b/debian/control
index 5269d40..c5b996b 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,7 @@ Build-Depends: debhelper (>= 7.0.50),
 Build-Depends-Indep: mono-devel (>= 2.4.2.3),
                      libmono-system2.0-cil,
                      libmono-system-data2.0-cil,
-                     libmono-system-runtime2.0-cil,
-                     perl-doc
+                     libmono-system-runtime2.0-cil
 Standards-Version: 3.8.3
 Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/dlr-languages.git
 Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/dlr-languages.git
diff --git a/debian/irake.1 b/debian/irake.1
new file mode 100644
index 0000000..57ad3be
--- /dev/null
+++ b/debian/irake.1
@@ -0,0 +1,20 @@
+IRAKE(1)					IRAKE(1)
+
+
+
+NNAAMMEE
+       irake \- rake on the ironruby platform
+
+DDEESSCCRRIIPPTTIIOONN
+       irake is the rake build system run on the .NET platform
+
+SSYYNNOOPPSSIISS
+       Usage:
+
+       iirraakkee _o_p_t_i_o_n_s
+
+SSEEEE AALLSSOO
+       _r_a_k_e(1)
+
+
+
diff --git a/debian/rules b/debian/rules
index 2caee08..311c437 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ DEB_CLI_API_VERSION = 20090805+git.e6b28d27
 include /usr/share/cli-common/cli.make
 include /usr/share/quilt/quilt.make
 
-override_dh_auto_build: $(QUILT_STAMPFN) debian/irake.1
+override_dh_auto_build: $(QUILT_STAMPFN)
 	for configuration in Debug;\
 	do \
 		for sln in Merlin/Main/Languages/Ruby/Ruby.sln \
@@ -32,6 +32,8 @@ override_dh_auto_build: $(QUILT_STAMPFN) debian/irake.1
 		done ;\
 	done
 
+# We ship the manpage to avoid a dependency on perl-doc just for this manpage.
+# This is how you can build it if you update it.
 debian/irake.1: debian/irake.pod
 	perldoc debian/irake.pod | \
 	perl -pe 's/(^\S+)\s*User Contributed Perl Documentation\s*(\S+)$$/$$1\t\t\t\t\t$$1/' | \
@@ -50,7 +52,6 @@ override_dh_clean: unpatch
 		-o -iname '*.resources' \) -delete
 	rm -f Merlin/Main/Languages/IronPython/IronPython.sln.proj
 	rm -f Merlin/Main/Languages/Ruby/Ruby.sln.proj
-	rm -f debian/irake.1
 	dh_clean
 
 override_dh_clistrip:

-- 
ironruby



More information about the Pkg-cli-libs-commits mailing list