X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=a9460e55ad9dd6b29b3e6f4bb7b564b8d3fe822a;hp=c265331169b2512880e0bc15db5a4a01500d48fd;hb=7efd37c004833a4f1758bc99623850d89722636d;hpb=03d6d746b742fb21ca22086ba6b72943a845ecc9 diff --git a/Makefile.am b/Makefile.am index c265331..a9460e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,10 +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) $(DECODERS_DIR) - tools/install-decoders -o $(DECODERS_DIR) + $(MKDIR_P) $(DESTDIR)$(DECODERS_DIR) + tools/install-decoders -o $(DESTDIR)$(DECODERS_DIR) install-data-hook: install-decoders