[relaxngcc] 01/05: update README.souce and get-orig-source again
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Wed Feb 26 16:23:43 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 6be42e6dca60cd9cd3ee5510d8e7eb027dac0834
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date: Wed Feb 26 18:20:41 2014 +0200
update README.souce and get-orig-source again
---
debian/README.source | 7 +++++--
debian/rules | 16 ----------------
2 files changed, 5 insertions(+), 18 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 1d6461e..8b5845c 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -5,8 +5,7 @@ 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
+- images that will be created during build
- use corret EOL encoding
- use ASCII encoding
- drop .class & .jar files
@@ -15,3 +14,7 @@ some files are removed in the process:
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 d6ec69a..6bcdc5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,22 +42,6 @@ get-orig-source:
# 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 {} \;
--
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