diff options
author | Ola Nordmann <olapc@yahoo.no> | 2002-02-05 15:23:01 +0000 |
---|---|---|
committer | Ola Nordmann <olapc@yahoo.no> | 2002-02-05 15:23:01 +0000 |
commit | 71d2bfb3ae80d6a977224cb332c53c849b03de5c (patch) | |
tree | f126a38684486c11174b94aa545c2138f7f5237e | |
parent | 196406f5864796382aaec1b375744b0574f0fa2c (diff) | |
download | java-common-71d2bfb3ae80d6a977224cb332c53c849b03de5c.tar.gz |
Removed the dummy package code.
-rwxr-xr-x | debian/rules | 25 | ||||
-rw-r--r-- | dummy/compiler/java-c | 60 | ||||
-rw-r--r-- | dummy/compiler/java-c.1 | 31 | ||||
-rw-r--r-- | dummy/compiler/java-c.conf-gcj | 4 | ||||
-rw-r--r-- | dummy/compiler/java-c.conf-guavac | 4 | ||||
-rw-r--r-- | dummy/compiler/java-c.conf-jdk | 3 | ||||
-rw-r--r-- | dummy/compiler/java-c.conf-jikes | 4 | ||||
-rw-r--r-- | dummy/virtual-machine/java-vm | 53 | ||||
-rw-r--r-- | dummy/virtual-machine/java-vm.1 | 33 | ||||
-rw-r--r-- | dummy/virtual-machine/java-vm.conf-jdk | 3 | ||||
-rw-r--r-- | dummy/virtual-machine/java-vm.conf-kaffe | 2 |
11 files changed, 9 insertions, 213 deletions
diff --git a/debian/rules b/debian/rules index 6764da7..f425f88 100755 --- a/debian/rules +++ b/debian/rules @@ -8,14 +8,11 @@ export DH_COMPAT=3 -DEFCOMPILER=jikes -DEFVM=kaffe - build: build-stamp build-stamp: dh_testdir - $(MAKE) + $(MAKE) touch build-stamp clean: @@ -25,7 +22,6 @@ clean: # Add here commands to clean up after the build process. $(MAKE) clean - -rm -f *~ dh_clean @@ -37,27 +33,24 @@ install-stamp: build-stamp dh_installdirs # Add here commands to install the package into debian/tmp. - dh_installdocs + # Create the doc directory. + dh_installdocs -i + # Install docs into the doc directory. $(MAKE) install DESTDIR=$(CURDIR)/debian/java-common - # java-compiler-dummy - install -m 0755 dummy/compiler/java-c debian/java-compiler-dummy/usr/bin - install -m 0644 dummy/compiler/java-c.conf-${DEFCOMPILER} debian/java-compiler-dummy/etc/java/java-c.conf - # java-virtual-machine-dummy. - install -m 0755 dummy/virtual-machine/java-vm debian/java-virtual-machine-dummy/usr/bin - install -m 0644 dummy/virtual-machine/java-vm.conf-${DEFVM} debian/java-virtual-machine-dummy/etc/java/java-vm.conf - dpsch-backupclean touch install-stamp +binary-arch: + # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. binary-indep: build install dh_testdir -i dh_testroot -i # dh_installdebconf -i - dh_installdocs -i +### dh_installdocs -i dh_installexamples -i dpsch-cvsclean dh_installmenu -i @@ -82,5 +75,5 @@ binary-indep: build install dh_builddeb -binary: binary-indep -.PHONY: build clean binary-indep binary install configure +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/dummy/compiler/java-c b/dummy/compiler/java-c deleted file mode 100644 index edfa90b..0000000 --- a/dummy/compiler/java-c +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -# java-c -# Copyright 1999 Stephane Bortzmeyer. -# 2001 Ola Lundqvist -# Licensed under the GNU GPL. -set -e - -repository=/usr/share/java/repository -conf=/etc/java/java-c.conf - -javac=`head -1 $conf` - -if [ ! -n "$javac" ] -then - echo "Cannot find a Java compiler in $conf" - exit 1 -fi - -defclasspath=`head -2 $conf | tail -1` - -if [ -n "$defclasspath" ] -then - MYCLASSPATH=${defclasspath} -fi - -compliant=`head -3 $conf | tail -1` - -if [ "xx$compliant" != "xxCOMPLIANT" ] -then - if [ -n "$MYCLASSPATH" ] - then - MYCLASSPATH=${MYCLASSPATH}:$repository - else - MYCLASSPATH=$repository - fi -fi - -if [ -n "$CLASSPATH" ] -then - if [ -n "$MYCLASSPATH" ] - then - MYCLASSPATH=${MYCLASSPATH}:${CLASSPATH} - else - MYCLASSPATH=${CLASSPATH} - fi -fi - -if [ -n "$MYCLASSPATH" ] -then - CLASSPATH=$MYCLASSPATH - export CLASSPATH - #echo $CLASSPATH -fi - -exec "$javac" "$@" - -echo "Cannot run $javac (found in $conf)" -exit 1 - diff --git a/dummy/compiler/java-c.1 b/dummy/compiler/java-c.1 deleted file mode 100644 index 6627181..0000000 --- a/dummy/compiler/java-c.1 +++ /dev/null @@ -1,31 +0,0 @@ -.TH JAVA-C 1 -.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection -.\" other parms are allowed: see man(7), man(1) -.SH JAVA-C -java-c \- A dummy Java compiler for the Java policy -.SH SYNOPSIS -.B java-c -.I "[options] files ..." -.SH "DESCRIPTION" -This manual page documents briefly the -.BR java-c -command. -.PP -.B java-c -is a wrapper around the real Java compiler. It sets the CLASSPATH according -to the Debian Java policy (if the compiler is not already compliant) and -can also add other mandatory directories to the CLASSPATH. This is configured -in -/etc/java-c -(see examples hereunder). -.PP -Your own CLASSPATH will be saved and appended. -.SH OPTIONS -They are passed uninterpreted to the compiler. -.SH "SEE ALSO" -/usr/doc/java-compiler-dummy -and specially the "examples" directory. -.SH AUTHOR -This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, -and updated by Ola Lundqvist <opal@debian.org>, -for the Debian GNU/Linux system (but may be used by others). diff --git a/dummy/compiler/java-c.conf-gcj b/dummy/compiler/java-c.conf-gcj deleted file mode 100644 index f8c7653..0000000 --- a/dummy/compiler/java-c.conf-gcj +++ /dev/null @@ -1,4 +0,0 @@ -/usr/bin/gcj - -COMPLIANT - diff --git a/dummy/compiler/java-c.conf-guavac b/dummy/compiler/java-c.conf-guavac deleted file mode 100644 index bf2077a..0000000 --- a/dummy/compiler/java-c.conf-guavac +++ /dev/null @@ -1,4 +0,0 @@ -/usr/bin/guavac - -COMPLIANT - diff --git a/dummy/compiler/java-c.conf-jdk b/dummy/compiler/java-c.conf-jdk deleted file mode 100644 index 7ac8b85..0000000 --- a/dummy/compiler/java-c.conf-jdk +++ /dev/null @@ -1,3 +0,0 @@ -/usr/lib/jdk1.1/bin/javac - -COMPLIANT diff --git a/dummy/compiler/java-c.conf-jikes b/dummy/compiler/java-c.conf-jikes deleted file mode 100644 index bdefc14..0000000 --- a/dummy/compiler/java-c.conf-jikes +++ /dev/null @@ -1,4 +0,0 @@ -/usr/bin/jikes -/usr/share/kaffe/Klasses.jar:/usr/share/java/repository -COMPLIANT - diff --git a/dummy/virtual-machine/java-vm b/dummy/virtual-machine/java-vm deleted file mode 100644 index c6cf344..0000000 --- a/dummy/virtual-machine/java-vm +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -repository=/usr/share/java/repository -conf=/etc/java/java-vm.conf - -java=`head -1 $conf` - -if [ ! -n "$java" ] -then - echo "Cannot find a Java virtual machine in $conf" - exit 1 -fi - -defclasspath=`head -2 $conf | tail -1` - -if [ -n "$defclasspath" ] -then - MYCLASSPATH=${defclasspath} -fi - -compliant=`head -3 $conf | tail -1` - -if [ "xx$compliant" != "xxCOMPLIANT" ] -then - if [ -n "$MYCLASSPATH" ] - then - MYCLASSPATH=${MYCLASSPATH}:$repository - else - MYCLASSPATH=$repository - fi -fi - -if [ -n "$CLASSPATH" ] -then - if [ -n "$MYCLASSPATH" ] - then - MYCLASSPATH=${MYCLASSPATH}:${CLASSPATH} - else - MYCLASSPATH=${CLASSPATH} - fi -fi - -if [ -n "$MYCLASSPATH" ] -then - CLASSPATH=$MYCLASSPATH - export CLASSPATH - #echo $CLASSPATH -fi - -exec "$java" "$@" - -echo "Cannot run $java (found in $conf)" -exit 1 diff --git a/dummy/virtual-machine/java-vm.1 b/dummy/virtual-machine/java-vm.1 deleted file mode 100644 index 0b057e0..0000000 --- a/dummy/virtual-machine/java-vm.1 +++ /dev/null @@ -1,33 +0,0 @@ -.\" -*- nroff -*- -.TH JAVA-VM "1" "November 1999" "DEBIAN" -.SH NAME -java-vm \- A dummy Java virtual machine for the Debian Java policy -.SH SYNOPSIS -.B java-vm -.I "[options] files ..." -.SH DESCRIPTION -This manual page documents briefly the -.BR java-vm -command. -.PP -.B java-vm -is a wrapper around the real Java virtual machine. It sets the -CLASSPATH according to the Debian Java policy (if the virtual machine -is not already compliant) and can also add other mandatory directories -to the CLASSPATH. This is configured in /etc/java-vm (see examples -hereunder). -.PP -Your own CLASSPATH will be saved and appended. -.SH OPTIONS -They are passed uninterpreted to the virtual machine. -.SH FILES -.TP -.I /etc/java-vm -java-vm configuration file. -.SH "SEE ALSO" -/usr/share/doc/java-virtual-machine-dummy -and specially the "examples" directory. -.SH AUTHOR -This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, -and updated by Ola Lundqvist <opal@debian.org>, -for the Debian GNU/Linux system (but may be used by others). diff --git a/dummy/virtual-machine/java-vm.conf-jdk b/dummy/virtual-machine/java-vm.conf-jdk deleted file mode 100644 index b6e2b20..0000000 --- a/dummy/virtual-machine/java-vm.conf-jdk +++ /dev/null @@ -1,3 +0,0 @@ -/usr/lib/jdk1.1/bin/java - -COMPLIANT diff --git a/dummy/virtual-machine/java-vm.conf-kaffe b/dummy/virtual-machine/java-vm.conf-kaffe deleted file mode 100644 index 1c92151..0000000 --- a/dummy/virtual-machine/java-vm.conf-kaffe +++ /dev/null @@ -1,2 +0,0 @@ -/usr/bin/kaffe - |