git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.net> 2014-08-12 14:52:47 +0200
committerHarald Pfeiffer <coding _ lirion.net> 2014-08-12 14:52:47 +0200
commitc771559c84005151ac80977654536857ec91a8e3 (patch)
tree717daad72c7f8e8f366db8efaf762534fd55f3ce
parent6d27bd621ddd96b9aa097f53d2ecb5953505503c (diff)
downloadmp3dir2html-c771559c84005151ac80977654536857ec91a8e3.tar.bz2
*Makefile: check for exiftool, sed and awk
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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