summaryrefslogtreecommitdiff
path: root/japi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'japi/Makefile.am')
-rw-r--r--japi/Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/japi/Makefile.am b/japi/Makefile.am
index cc7ac4a..e32c906 100644
--- a/japi/Makefile.am
+++ b/japi/Makefile.am
@@ -21,7 +21,7 @@ AM_LDFLAGS += $(STRICT_LDFLAGS) -version-number $(V_MAJOR):$(V_MINOR):$(V_REV)
JAVA_SRC = SaneDevice.java SaneOption.java SaneRange.java\
Sane.java SaneParameters.java ScanIt.java \
ImageCanvas.java ImageCanvasClient.java \
- Test.java Jscanimage.java
+ Test.java Jscanimage.java
dist_noinst_JAVA = $(JAVA_SRC)
@@ -31,13 +31,12 @@ EXTRA_DIST = README.JAVA
lib_LTLIBRARIES = libsanej.la
-BUILT_SOURCES = Sane.h
-CLEANFILES = Sane.h
-nodist_libsanej_la_SOURCES = Sane.h
libsanej_la_SOURCES = Sane.c
libsanej_la_LIBADD = $(LIBSANE)
-# Make sure that java classes get created before create Sane.h
-Sane.h: classdist_noinst.stamp
+# Explicit dependencies
+nodist_libsanej_la_SOURCES: Sane.h
+Sane.h: classnoinst.stamp
$(JAVAH) Sane
+CLEANFILES = Sane.h