X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=df8fb86d1ae641ef220241269991ba48fd9cd3f5;hp=c4a9d475fa9cbf6400759b3c4902f69ef8a17800;hb=83df730dd21ce52670a593455cfe5e732989a90d;hpb=20e950feb2fea1c6c106ced44e1fef3cf6d882ef diff --git a/Makefile.am b/Makefile.am index c4a9d47..df8fb86 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,7 +47,7 @@ noinst_HEADERS = libsigrokdecode-internal.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsigrokdecode.pc -EXTRA_DIST = Doxyfile contrib/sigrok-logo-notext.png +EXTRA_DIST = Doxyfile HACKING contrib/sigrok-logo-notext.png if HAVE_CHECK TESTS = tests/check_main @@ -68,10 +68,11 @@ endif if BUILD_RUNTC noinst_PROGRAMS = tests/runtc +tests_runtc_LDADD = $(top_builddir)/libsigrokdecode.la tests_runtc_SOURCES = tests/runtc.c tests_runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' -tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode +tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) endif MAINTAINERCLEANFILES = ChangeLog @@ -89,8 +90,8 @@ dist-hook: ChangeLog install-decoders: $(MKDIR_P) $(DESTDIR)$(DECODERS_DIR) - ${top_srcdir}/tools/install-decoders -i ${top_srcdir}/decoders \ - -o $(DESTDIR)$(DECODERS_DIR) + $(PYTHON3) ${top_srcdir}/tools/install-decoders \ + -i ${top_srcdir}/decoders -o $(DESTDIR)$(DECODERS_DIR) install-data-hook: install-decoders