[DRE-commits] [SCM] Debian Ruby packaging policy branch, master, updated. dfed064c7e2739744dc6ad87ba69c2c6abc92b1e

Vincent Fourmond fourmond at debian.org
Mon May 9 20:09:40 UTC 2011


The following commit has been merged in the master branch:
commit 17e8746f18747e7b88c90442cd618510aeb5be3b
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Mon May 9 20:42:48 2011 +0200

    Package building

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7956779
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+DOCS = ruby-policy.pdf html
+
+build: $(DOCS)
+
+html: ruby-policy.xml
+	rm -rf $@
+	docbook2html -o $@ $< 
+
+%.pdf: %.xml
+	docbook2pdf $< 
+
+clean:
+	rm -rf $(DOCS)
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
index be4f946..de31e3a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby List <debian-ruby at lists.debian.org>
 Uploaders: Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>= 7), 
+Build-Depends: debhelper (>= 7), docbook-utils, docbook-xml
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-policy.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-policy.git;a=summary
diff --git a/debian/ruby-policy.install b/debian/ruby-policy.install
new file mode 100644
index 0000000..4f685d4
--- /dev/null
+++ b/debian/ruby-policy.install
@@ -0,0 +1,2 @@
+ruby-policy.pdf usr/share/doc/ruby-policy
+html usr/share/doc/ruby-policy
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cbe925d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+	dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..779dbfd
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = "bzip2"
+compression-level = 9

-- 
Debian Ruby packaging policy



More information about the Pkg-ruby-extras-commits mailing list