[antlr] 27/87: * Put documentation into antlr-doc package. Thanks to Bernd Zeimetz.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 14:49:18 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository antlr.

commit 8ee243a950346433144341bdb04c2dc070837f00
Author: Michael Koch <konqueror at gmx.de>
Date:   Sat Apr 21 09:10:36 2007 +0000

    * Put documentation into antlr-doc package. Thanks to Bernd Zeimetz.
---
 debian/{docs => antlr-doc.docs}         |  0
 debian/{examples => antlr-doc.examples} |  0
 debian/changelog                        |  3 ++-
 debian/control                          | 14 ++++++++++++++
 debian/rules                            | 33 +++++++++++++++++++++++++--------
 5 files changed, 41 insertions(+), 9 deletions(-)

diff --git a/debian/docs b/debian/antlr-doc.docs
similarity index 100%
rename from debian/docs
rename to debian/antlr-doc.docs
diff --git a/debian/examples b/debian/antlr-doc.examples
similarity index 100%
rename from debian/examples
rename to debian/antlr-doc.examples
diff --git a/debian/changelog b/debian/changelog
index 51c317e..03d970c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,12 @@
 antlr (2.7.6-8) unstable; urgency=low
 
+  * Put documentation into antlr-doc package. Thanks to Bernd Zeimetz.
   * Build with java-gcj-compat-dev.
   * Don't Build-Depends on autotools-dev twice.
   * Introduce debian/compat instead of DH_COMPAT var in debian/rules.
   * Fixed older changelog entries to fix lintian warnings.
 
- -- Michael Koch <konqueror at gmx.de>  Fri, 20 Apr 2007 21:55:27 +0200
+ -- Michael Koch <konqueror at gmx.de>  Sat, 21 Apr 2007 11:07:26 +0200
 
 antlr (2.7.6-7) unstable; urgency=high
 
diff --git a/debian/control b/debian/control
index 8a40cb6..1841fcd 100644
--- a/debian/control
+++ b/debian/control
@@ -49,3 +49,17 @@ Description: language tool for constructing recognizers, compilers etc
  or Java actions [You can use PCCTS 1.xx to generate C-based parsers].
  .
  See antlr package for a complete description.
+
+Package: antlr-doc
+Section: doc
+Architecture: all
+Conflicts: antlr (<< 2.7.6-8)
+Description: language tool for constructing recognizers, compilers etc
+ This package contains the documentation and examples for antlr.
+ ANTLR stands for ANother Tool for Language Recognition,
+ (formerly PCCTS). It is  a language tool that provides a framework
+ for constructing recognizers, compilers, and translators from
+ grammatical descriptions containing C++ or Java actions
+ [You can use PCCTS 1.xx to generate C-based parsers].
+ .
+ See antlr package for a complete description
diff --git a/debian/rules b/debian/rules
index 56d23de..15f60c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,13 +68,28 @@ install: build
 	install -m755 cantlr debian/cantlr/usr/bin
 
 binary-indep: build-indep install-indep
-	dh_testdir -pantlr
-	dh_testroot -pantlr
-	dh_installdocs -pantlr
-	dh_installexamples -pantlr
-	rm -rf debian/antlr/usr/share/doc/antlr/examples/csharp
-	chmod -R a-x debian/antlr/usr/share/doc/antlr/examples
+	dh_testdir 
+	dh_testroot
+#
+#   antlr-doc:
+	dh_installdocs -pantlr-doc
+	dh_installexamples -pantlr-doc
+	dh_installchangelogs -pantlr-doc
+	rm -rf debian/antlr-doc/usr/share/doc/antlr-doc/examples/csharp
+	rm -f debian/antlr-doc/usr/share/doc/antlr-doc/csharp-runtime.html
+	rm -f debian/antlr-doc/usr/share/doc/antlr-doc/Makefile*
+	find debian/antlr-doc/usr/share/doc/antlr-doc/examples -type f -print | xargs chmod 0644
+	dh_fixperms -pantlr-doc
+	dh_compress -pantlr-doc
+	dh_installdeb -pantlr-doc
+	dh_gencontrol -pantlr-doc
+	dh_md5sums -pantlr-doc
+	dh_builddeb -pantlr-doc
+	
+#
+# antlr
 	dh_installman -pantlr
+	dh_installdocs -pantlr
 	dh_installchangelogs -pantlr
 	dh_link -pantlr usr/share/java/antlr.jar usr/share/java/antlr.debug.jar usr/share/java/antlr.jar usr/share/java/antlrall.jar
 	dh_strip
@@ -90,8 +105,10 @@ binary-indep: build-indep install-indep
 
 
 binary-arch: build install
-	dh_testdir -plibantlr-dev -pcantlr
-	dh_testroot -plibantlr-dev -pcantlr
+#
+# libantlr-dev and cantlr
+	dh_testdir
+	dh_testroot
 	dh_installdocs -plibantlr-dev -pcantlr
 	dh_installexamples -plibantlr-dev -pcantlr
 	dh_installman -pcantlr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr.git



More information about the pkg-java-commits mailing list