[relaxngcc] 01/02: update get-orig-source and README.source

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Wed Feb 26 16:16:17 UTC 2014


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

tjaalton-guest pushed a commit to branch master
in repository relaxngcc.

commit d14b6010bff0ef9cdb3d4b6ebb9cfd7f5e0b722f
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date:   Wed Feb 26 15:41:04 2014 +0200

    update get-orig-source and README.source
---
 debian/README.source | 14 ++++++++++++--
 debian/rules         |  5 +++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index 96ff2b7..8b5845c 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,10 +1,20 @@
-Information about rngom
-------------------------------
+Information about relaxngcc
+---------------------------
 
 The source tarball is generated from an upstream zip file, and
 some files are removed in the process:
 - files that will be regenerated by javacc
 - ChildAntProjectTag.java removed to avoid dependency on commons-jelly
+- images that will be created during build
 - use corret EOL encoding
 - use ASCII encoding
 - drop .class & .jar files
+- exclude sample and doc dirs which contain generated files and are not used
+
+Note that src/relaxngcc/runtime/NGCCPlainHandler.java and
+src/relaxngcc/runtime/NGCCTypedContentHandler.java show as generated files by
+licensecheck, but it's a false positive.
+
+To bootstrap the package, the parser needs pregenerated files in the source.
+These will be rebuilt after the initial jar, and then another build will use
+these rebuilt versions when creating the final jar.
diff --git a/debian/rules b/debian/rules
index f13ce59..6bcdc5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,9 @@ get-orig-source:
 	# Remove to avoid dependency on commons-jelly:
 	rm $(ORIG_BDIR)/src/relaxngcc/maven/ChildAntProjectTag.java
 
+	# These will be regenerated
+	rm $(ORIG_BDIR)/src/relaxngcc/parser/automata/*.gif
+
 	# Some of the sources don't use the correct end of line encoding, so to be
 	# conservative fix all of them:
 	find $(ORIG_BDIR) -type f -exec dos2unix {} \;
@@ -52,5 +55,7 @@ get-orig-source:
 	XZ_OPT=--best tar -cJf ../relaxngcc_$(VERSION).orig.tar.xz \
 		--exclude '*.jar' \
 		--exclude '*.class' \
+		--exclude 'sample' \
+		--exclude 'doc' \
 		$(ORIG_BDIR)
 	rm -rf $(ZIP) $(ORIG_BDIR)

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



More information about the pkg-java-commits mailing list