[antlr3] 01/04: d/README.source: Updated the instructions to build the generated sources

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Oct 1 12:25:47 UTC 2015


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

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

commit ae43ce25d431d2f6064313861ffed04d3ce83779
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 7 14:06:19 2015 +0200

    d/README.source: Updated the instructions to build the generated sources
---
 debian/README.source | 21 ++++++++++++++++-----
 debian/changelog     |  1 +
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index dbc0033..f13a218 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,5 +1,5 @@
 Information about antlr3
-------------------------------
+------------------------
 
 This package was debianized using the mh_make command
 from the maven-debian-helper package.
@@ -9,8 +9,19 @@ anything from the Internet, making the build compliant with
 the Debian policy.
 
 debian/generated-sources contains sources generated with the upstreams
-distribution, using the command:
+distribution, using these steps:
 
-mvn generate-sources
-mkdir -p debian/generated-sources
-cp -r tool/target/generated-sources/antlr3
+ 1. Disable the patch 01-ignore-antlr-plugin.patch by commenting it out in debian/patches/series
+
+ 2. Apply the patches with:
+
+      quilt push -a
+
+ 3. Generate the source files using Maven 3:
+
+      /usr/share/maven/bin/mvn clean generate-sources
+
+ 4. Copy the generated files to debian/generated-sources:
+
+     mkdir -p debian/generated-sources
+     cp -r tool/target/generated-sources/antlr3 debian/generated-sources
diff --git a/debian/changelog b/debian/changelog
index 3087fc7..08eb2b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ antlr3 (3.5.2-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Declare that ANTLR 3.5 breaks jython (<< 2.5.3-7~)
+  * d/README.source: Updated the instructions to build the generated sources
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 03 Sep 2015 12:36:24 +0200
 

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



More information about the pkg-java-commits mailing list