From cbbe0980565bc6e9b83d04e11d11f4c7aed9ff4f Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Tue, 25 Oct 2016 10:25:55 -0400 Subject: * Makefile: install emms-print-metadata --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 4112078..e4ffa44 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ DESTDIR= PREFIX=$(DESTDIR)/usr/local INFODIR=$(PREFIX)/info MAN1DIR=$(PREFIX)/share/man/man1 +BINDIR=$(PREFIX)/bin SITELISP=$(PREFIX)/share/emacs/site-lisp/emms GINSTALLINFO = /usr/bin/ginstall-info --info-dir=$(INFODIR) @@ -49,6 +50,12 @@ install: else \ $(INSTALLINFO) $(DOCDIR)emms.info; \ fi + if [ -x $(SRCDIR)/emms-print-metadata ]; then \ + echo "emms-print-metadata found, installing"; \ + install -m 755 $(SRCDIR)/emms-print-metadata $(BINDIR)/emms-print-metadata; \ + else \ + echo "skipping emms-print-metadata install"; \ + fi remove-info: if [ -x /usr/bin/ginstall-info ]; then \ -- cgit v1.2.3