From c771559c84005151ac80977654536857ec91a8e3 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 12 Aug 2014 14:52:47 +0200 Subject: *Makefile: check for exiftool, sed and awk --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92159ca..c478815 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ install: all all: mbin man -mbin: +mbin: exiftool-exists sedawk-exists @cp -v bin/mp3dir2html /usr/local/bin/ man: gzip-exists @@ -14,6 +14,13 @@ man: gzip-exists gzip-exists: @command -v gzip > /dev/null +exiftool-exists: + @command -v exiftool > /dev/null + +sedawk-exists: + @command -v sed > /dev/null + @command -v awk > /dev/null + uninstall: @rm -v /usr/local/share/man/man1/mp3dir2html.1.gz /usr/local/bin/mp3dir2html -- cgit v1.2.3