git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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