diff options
Diffstat (limited to 'lib/am/java.am')
-rw-r--r-- | lib/am/java.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/am/java.am b/lib/am/java.am index c44a4b898..9fb5c7270 100644 --- a/lib/am/java.am +++ b/lib/am/java.am @@ -27,8 +27,11 @@ CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH JAVAROOT = $(top_builddir) class%DIR%.stamp: $(%DIR%_JAVA) - $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) \ - $(AM_JAVACFLAGS) $(JAVACFLAGS) $? + @if test -n "$?"; then \ + echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $?' ; \ + $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) \ + $(AM_JAVACFLAGS) $(JAVACFLAGS) $?; \ + else :; fi echo timestamp > class%DIR%.stamp |