aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \