/[debian-med]/trunk/packages/imagej/trunk/debian/rules
ViewVC logotype

Diff of /trunk/packages/imagej/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1921 by tille, Thu May 15 18:31:07 2008 UTC revision 1922 by tille, Wed May 28 06:53:58 2008 UTC
# Line 9  include /usr/share/cdbs/1/class/ant.mk Line 9  include /usr/share/cdbs/1/class/ant.mk
9  include /usr/share/cdbs/1/rules/simple-patchsys.mk  include /usr/share/cdbs/1/rules/simple-patchsys.mk
10    
11  # JAVA_HOME             := $(shell /usr/sbin/update-java-alternatives -l | head -1 | cut -d' ' -f 3)  # JAVA_HOME             := $(shell /usr/sbin/update-java-alternatives -l | head -1 | cut -d' ' -f 3)
12  JAVA_HOME               := $(shell /usr/sbin/update-java-alternatives -l | grep -vw sun | head -1 | cut -d' ' -f 3)  # JAVA_HOME             := $(shell /usr/sbin/update-java-alternatives -l | grep -vw sun | head -1 | cut -d' ' -f 3)
13    # Use gcj as java home or search for other installed JVM
14    JAVA_HOME = $(or $(shell [ -x /usr/lib/jvm/java-gcj ] && echo "/usr/lib/jvm/java-gcj"), $(shell ls -L /usr/lib/jvm/ | grep -v -e "[0-9]$" -e "-gcj$" | head -1 ))
15    ANT = JAVA_HOME=$(JAVA_HOME) TEX4HTENV=/etc/tex4ht/tex4ht.env ant
16    
17  JAVACMD                 := $(JAVA_HOME)/bin/java  JAVACMD                 := $(JAVA_HOME)/bin/java
18  DEB_BUILDDIR            := $(CURDIR)  DEB_BUILDDIR            := $(CURDIR)
19  DEB_ANT_BUILD_TARGET    := build  DEB_ANT_BUILD_TARGET    := build

Legend:
Removed from v.1921  
changed lines
  Added in v.1922

  ViewVC Help
Powered by ViewVC 1.1.5