X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=a9460e55ad9dd6b29b3e6f4bb7b564b8d3fe822a;hp=b2f4156835c984b7885e728b4183af042ec19443;hb=7efd37c004833a4f1758bc99623850d89722636d;hpb=190b71cfebc1dd000d3203c7300a10afd96c1201 diff --git a/Makefile.am b/Makefile.am index b2f4156..a9460e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,15 +20,15 @@ ACLOCAL_AMFLAGS = -I autostuff -SUBDIRS = contrib decoders tests +SUBDIRS = contrib tests lib_LTLIBRARIES = libsigrokdecode.la libsigrokdecode_la_SOURCES = \ srd.c \ - controller.c \ session.c \ decoder.c \ + instance.c \ log.c \ util.c \ exception.c \ @@ -58,4 +58,14 @@ ChangeLog: git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog dist-hook: ChangeLog + $(MKDIR_P) $(distdir)/tools + cp tools/install-decoders $(distdir)/tools + $(MKDIR_P) $(distdir)/decoders + tools/install-decoders -o $(distdir)/decoders + +install-decoders: + $(MKDIR_P) $(DESTDIR)$(DECODERS_DIR) + tools/install-decoders -o $(DESTDIR)$(DECODERS_DIR) + +install-data-hook: install-decoders