japi: Fix BUILT_SOURCES dependency

Newer automake versions have the dist target depend on BUILT_SOURCES
so that variable should not heavy build dependencies.  This fixes the
dist target sufficiently, for CI purposes at least, in that it leads
to inclusion of the same list of files.  Note that CI does not build
anything in the japi/ directory.
merge-requests/125/head
Olaf Meeuwissen 2019-08-11 12:10:07 +09:00
rodzic c90e9674e7
commit 041ea5f53c
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -31,12 +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