summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-09 15:22:14 -0700
committerKeith Packard <keithp@keithp.com>2010-09-09 15:22:14 -0700
commit737a64c57a8f979f51c3fa6b3f214520c736cf8a (patch)
treeaae423f582c20a275ede79978de573a2e9a02fee
parentb456bd9d7bcd9d968e43c38eeb6fa6ad8c58f895 (diff)
altosui: hack to make JAVAROOT directory get created before javac runs
This ensures that the JAVAROOT directory gets created by adding it to the variable used to set the CLASSPATH environment value. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--ao-tools/altosui/Makefile.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/ao-tools/altosui/Makefile.am b/ao-tools/altosui/Makefile.am
index 4bb67c97..f224dace 100644
--- a/ao-tools/altosui/Makefile.am
+++ b/ao-tools/altosui/Makefile.am
@@ -1,7 +1,7 @@
JAVAROOT=classes
AM_JAVACFLAGS=-encoding UTF-8
-CLASSPATH_ENV=CLASSPATH=".:classes:../libaltos:$(FREETTS)/*:/usr/share/java/*"
+CLASSPATH_ENV=mkdir -p $(JAVAROOT); CLASSPATH=".:classes:../libaltos:$(FREETTS)/*:/usr/share/java/*"
bin_SCRIPTS=altosui
@@ -109,11 +109,6 @@ install-altosuiJAVA: altosui.jar
classes/altosui:
mkdir -p classes/altosui
-classaltosui.stamp: classes
-
-classes:
- mkdir -p classes
-
$(JAR): classaltosui.stamp Manifest.txt $(JAVA_ICON)
jar cfm $@ Manifest.txt \
-C $(top_srcdir)/icon altus-metrum-16x16.jpg \