The following commit has been merged in the master branch:
commit 6cc7d4b882fae82c3097742e626c09f1c46bf931
Author: Eugeniy Meshcheryakov <eu...@debian.org>
Date:   Tue Dec 6 00:43:46 2011 +0100

    Move pdf documentation and examples into a separate package

diff --git a/debian/changelog b/debian/changelog
index 6eee760..74e6d29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+coccinelle (1.0.0~rc7.deb-4) unstable; urgency=low
+
+  * Move pdf documentation and examples into a separate package
+
+ -- Євгеній Мещеряков <eu...@debian.org>  Tue, 06 Dec 2011 00:43:18 +0100
+
 coccinelle (1.0.0~rc7.deb-3) unstable; urgency=low
 
   * REALLY upload to unstable
diff --git a/debian/coccinelle.doc-base.grammar 
b/debian/coccinelle-doc.doc-base.grammar
similarity index 61%
rename from debian/coccinelle.doc-base.grammar
rename to debian/coccinelle-doc.doc-base.grammar
index 42054c4..c16cc8b 100644
--- a/debian/coccinelle.doc-base.grammar
+++ b/debian/coccinelle-doc.doc-base.grammar
@@ -3,4 +3,4 @@ Title: The SmPL Grammar
 Section: Programming
 
 Format: PDF
-Files: /usr/share/doc/coccinelle/main_grammar.pdf
+Files: /usr/share/doc/coccinelle-doc/main_grammar.pdf
diff --git a/debian/coccinelle.doc-base.manual 
b/debian/coccinelle-doc.doc-base.manual
similarity index 66%
rename from debian/coccinelle.doc-base.manual
rename to debian/coccinelle-doc.doc-base.manual
index 0d739ab..fe27cb6 100644
--- a/debian/coccinelle.doc-base.manual
+++ b/debian/coccinelle-doc.doc-base.manual
@@ -3,4 +3,4 @@ Title: Coccinelle User's Manual
 Section: Programming
 
 Format: PDF
-Files: /usr/share/doc/coccinelle/manual.pdf
+Files: /usr/share/doc/coccinelle-doc/manual.pdf
diff --git a/debian/coccinelle.doc-base.options 
b/debian/coccinelle-doc.doc-base.options
similarity index 63%
rename from debian/coccinelle.doc-base.options
rename to debian/coccinelle-doc.doc-base.options
index c783094..08fc90d 100644
--- a/debian/coccinelle.doc-base.options
+++ b/debian/coccinelle-doc.doc-base.options
@@ -3,4 +3,4 @@ Title: Coccinelle Usage
 Section: Programming
 
 Format: PDF
-Files: /usr/share/doc/coccinelle/options.pdf
+Files: /usr/share/doc/coccinelle-doc/options.pdf
diff --git a/debian/docs b/debian/coccinelle-doc.docs
similarity index 68%
rename from debian/docs
rename to debian/coccinelle-doc.docs
index 287bdbf..2763b3f 100644
--- a/debian/docs
+++ b/debian/coccinelle-doc.docs
@@ -1,6 +1,3 @@
-authors.txt
-credits.txt
-readme.txt
 docs/manual/manual.pdf
 docs/manual/main_grammar.pdf
 docs/manual/options.pdf
diff --git a/debian/coccinelle.examples b/debian/coccinelle-doc.examples
similarity index 100%
rename from debian/coccinelle.examples
rename to debian/coccinelle-doc.examples
diff --git a/debian/dirs b/debian/coccinelle.dirs
similarity index 100%
rename from debian/dirs
rename to debian/coccinelle.dirs
diff --git a/debian/coccinelle.docs b/debian/coccinelle.docs
new file mode 100644
index 0000000..d9919f2
--- /dev/null
+++ b/debian/coccinelle.docs
@@ -0,0 +1,3 @@
+authors.txt
+credits.txt
+readme.txt
diff --git a/debian/control b/debian/control
index d1a9d6d..a46cab9 100644
--- a/debian/control
+++ b/debian/control
@@ -36,9 +36,23 @@ Depends:
  python-gtk2,
  python-glade2,
  ocaml-findlib
-Suggests: vim-addon-manager
+Suggests: vim-addon-manager, coccinelle-doc
 Description: semantic patching tool for C
  Cocinelle is a program matching and transformation tool for C.
  The programmer describes the code to match and the transformation to
  perform as a semantic patch, which looks like a standard patch, but can
  transform multiple files at any number of code sites.
+
+Package: coccinelle-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends}
+Description: documentation for coccinelle
+ Cocinelle is a program matching and transformation tool for C.
+ The programmer describes the code to match and the transformation to
+ perform as a semantic patch, which looks like a standard patch, but can
+ transform multiple files at any number of code sites.
+ .
+ This package contains examples files and additional documentation in
+ PDF format.

-- 
Debian packaging for coccinelle

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to