[antlr] 16/87: antlr (2.7.5-8) unstable; urgency=low

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 14:49:16 UTC 2017


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

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

commit f086e183eddf8699df83686b80e7e0d9c989ddd2
Author: Arnaud Vandyck <avdyk at debian.org>
Date:   Wed Aug 17 22:08:46 2005 +0000

    antlr (2.7.5-8) unstable; urgency=low
    
      * Moved Makefile.debian to debian/Makefile.debian and changed the
        hardcoded version in this file to gcj
---
 debian/Makefile.debian | 36 ++++++++++++++++++++++++++++++++++++
 debian/changelog       |  7 +++++++
 debian/rules           |  8 ++++----
 3 files changed, 47 insertions(+), 4 deletions(-)

diff --git a/debian/Makefile.debian b/debian/Makefile.debian
new file mode 100644
index 0000000..149aace
--- /dev/null
+++ b/debian/Makefile.debian
@@ -0,0 +1,36 @@
+# *** Debian rules start here ***
+JAVAC=jikes-classpath
+JAR=fastjar
+
+build_antlr: compile makejar 
+
+#make_with_gcj
+
+JAVA_FILES=`find antlr -name '*.java'`
+#compile the java files from scratch and make an executable with gcj
+compile:
+	$(JAVAC) $(JAVA_FILES)
+
+makejar:
+	$(JAR) cf antlr.jar `find . -name '*.class'`
+#	cp antlr.jar antlrall.jar
+#	cp antlr.jar antlr.debug.jar
+
+make_with_gcj:
+	rm -f `find . -name '*.class'`
+	gcj --main=antlr.Tool --CLASSPATH="." $(JAVA_FILES) -o cantlr
+	strip cantlr
+
+clean:
+	rm -f `find . -name '*.class'`
+	rm -f `find . -name '*.jar'`
+	rm -f *.so cantlr `find . -name '*.o'`
+
+install:
+	install -m644 antlr.jar $(DESTDIR)/usr/share/java
+#	install -m644 antlrall.jar $(DESTDIR)/usr/share/java
+#	install -m644 antlr.debug.jar $(DESTDIR)/usr/share/java
+	cp bin/antlr $(DESTDIR)/usr/bin/runantlr
+	chmod 755 $(DESTDIR)/usr/bin/runantlr
+
+#	install -m755 cantlr $(DESTDIR)/usr/bin
diff --git a/debian/changelog b/debian/changelog
index 9434b6b..78febc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+antlr (2.7.5-8) unstable; urgency=low
+
+  * Moved Makefile.debian to debian/Makefile.debian and changed the
+    hardcoded version in this file to gcj
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Wed, 17 Aug 2005 23:38:13 +0200
+
 antlr (2.7.5-7) unstable; urgency=low
 
   * Change to default packages for gcj and libgcj-dev to build 
diff --git a/debian/rules b/debian/rules
index 8d506d6..f7cb2ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,13 +15,13 @@ configure-stamp: autotools
 build-indep: configure build-stamp-indep
 build-stamp-indep:
 	dh_testdir
-	$(MAKE) -f Makefile.debian build_antlr
+	$(MAKE) -f debian/Makefile.debian build_antlr
 	touch build-stamp-indep
 
 build: configure build-stamp
 build-stamp:
 	dh_testdir
-	$(MAKE) -f Makefile.debian make_with_gcj
+	$(MAKE) -f debian/Makefile.debian make_with_gcj
 	cd lib/cpp; $(MAKE)
 	touch build-stamp
 
@@ -29,7 +29,7 @@ clean:
 	dh_testdir
 	dh_testroot
 	-rm -f build-stamp build-stamp-indep configure-stamp-indep
-	-$(MAKE) -f Makefile.debian clean
+	-$(MAKE) -f debian/Makefile.debian clean
 	-cd lib/cpp; $(MAKE) clean
 	-rm -rf lib/cpp/src/.deps
 	-rm -f lib/cpp/config.sub lib/cpp/config.guess lib/cpp/config.cache lib/cpp/config.log
@@ -46,7 +46,7 @@ install-indep: build-indep
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	$(MAKE) -f Makefile.debian install DESTDIR=`pwd`/debian/antlr
+	$(MAKE) -f debian/Makefile.debian install DESTDIR=`pwd`/debian/antlr
 
 install: build
 	dh_testdir

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



More information about the pkg-java-commits mailing list