aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2016-10-25 10:25:55 -0400
committerYoni Rabkin <yoni@rabkins.net>2016-10-25 10:25:55 -0400
commitcbbe0980565bc6e9b83d04e11d11f4c7aed9ff4f (patch)
tree5a9058e727947ce785dca843f46c1955fbed3a0e /Makefile
parent4148457ab5d314c05d3b7a1716e26a23f1c9c237 (diff)
* Makefile: install emms-print-metadata
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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 \