[pkg-java] r3293 - trunk/antlr/debian

Michael Koch mkoch at alioth.debian.org
Sat Apr 21 09:10:36 UTC 2007


Author: mkoch
Date: 2007-04-21 09:10:36 +0000 (Sat, 21 Apr 2007)
New Revision: 3293

Added:
   trunk/antlr/debian/antlr-doc.docs
   trunk/antlr/debian/antlr-doc.examples
Removed:
   trunk/antlr/debian/docs
   trunk/antlr/debian/examples
Modified:
   trunk/antlr/debian/
   trunk/antlr/debian/changelog
   trunk/antlr/debian/control
   trunk/antlr/debian/rules
Log:
* Put documentation into antlr-doc package. Thanks to Bernd Zeimetz.



Property changes on: trunk/antlr/debian
___________________________________________________________________
Name: svn:ignore
   - antlr
cantlr
files
libantlr-dev
*.debhelper
*.substvars

   + antlr
antlr-doc
cantlr
files
libantlr-dev
*.debhelper
*.substvars


Added: trunk/antlr/debian/antlr-doc.docs
===================================================================
--- trunk/antlr/debian/antlr-doc.docs	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/antlr-doc.docs	2007-04-21 09:10:36 UTC (rev 3293)
@@ -0,0 +1 @@
+doc/*

Added: trunk/antlr/debian/antlr-doc.examples
===================================================================
--- trunk/antlr/debian/antlr-doc.examples	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/antlr-doc.examples	2007-04-21 09:10:36 UTC (rev 3293)
@@ -0,0 +1 @@
+examples/*

Modified: trunk/antlr/debian/changelog
===================================================================
--- trunk/antlr/debian/changelog	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/changelog	2007-04-21 09:10:36 UTC (rev 3293)
@@ -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
 

Modified: trunk/antlr/debian/control
===================================================================
--- trunk/antlr/debian/control	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/control	2007-04-21 09:10:36 UTC (rev 3293)
@@ -49,3 +49,17 @@
  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

Deleted: trunk/antlr/debian/docs
===================================================================
--- trunk/antlr/debian/docs	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/docs	2007-04-21 09:10:36 UTC (rev 3293)
@@ -1 +0,0 @@
-doc/*

Deleted: trunk/antlr/debian/examples
===================================================================
--- trunk/antlr/debian/examples	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/examples	2007-04-21 09:10:36 UTC (rev 3293)
@@ -1 +0,0 @@
-examples/*

Modified: trunk/antlr/debian/rules
===================================================================
--- trunk/antlr/debian/rules	2007-04-20 21:23:03 UTC (rev 3292)
+++ trunk/antlr/debian/rules	2007-04-21 09:10:36 UTC (rev 3293)
@@ -68,13 +68,28 @@
 	install -m755 cantlr debian/cantlr/usr/bin
 
 binary-indep: build-indep install-indep
-	dh_testdir -pantlr
-	dh_testroot -pantlr
+	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_installexamples -pantlr
-	rm -rf debian/antlr/usr/share/doc/antlr/examples/csharp
-	chmod -R a-x debian/antlr/usr/share/doc/antlr/examples
-	dh_installman -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-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




More information about the pkg-java-commits mailing list