This is an automated email from the git hooks/post-receive script. tjaalton-guest pushed a commit to branch master in repository relaxngcc.
commit aec4970a8ac7587042b49bda803050281e6fb048 Author: Timo Aaltonen <[email protected]> Date: Wed Feb 26 15:41:04 2014 +0200 update get-orig-source and README.source --- debian/README.source | 11 +++++++++-- debian/rules | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/debian/README.source b/debian/README.source index 96ff2b7..1d6461e 100644 --- a/debian/README.source +++ b/debian/README.source @@ -1,10 +1,17 @@ -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 +- pregenerated gifs that will be created during build +- pregenerated files that are provided as distro patch and regenerated 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. diff --git a/debian/rules b/debian/rules index f13ce59..d6ec69a 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,25 @@ 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 + + # These will be provided as a distro patch, regenerated during build + for i in \ + datatype.java macro.java resource.java Start.java \ + ; do rm $(ORIG_BDIR)/src/relaxngcc/datatype/parser/$$i; done + for i in \ + DefineElement.java ExceptNameClass.java \ + GrammarContent.java IncludeContent.java \ + IncludedGrammarState.java NGCCDefineParamState.java \ + NGCCLocalClass.java \ + NGCCalias.java NGCCcall.java \ + NGCCdefine.java NGCCwithParams.java \ + NameClassState.java NameClasses.java PatternDefinition.java \ + PatternState.java Start.java StartElement.java \ + name.java patterns.java \ + ; do rm $(ORIG_BDIR)/src/relaxngcc/parser/state/$$i; done + # 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 +71,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 _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

