aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ffmpeg/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/ffmpeg/Makefile b/ffmpeg/Makefile
index c60008c..2c472b0 100644
--- a/ffmpeg/Makefile
+++ b/ffmpeg/Makefile
@@ -1,6 +1,13 @@
.POSIX:
install:
+ ../check-installed-shebang resize-and-transcode
+ ../check-installed-shebang resize-and-transcode-recursively
+ ../check-in-path rmdir test rm mv mkdir printf sed grep rev cut ffprobe ffmpeg stat
+ ../check-in-path wc && test "$$(stat -c '%s' ../README)" = "$$(wc -c < ../README | cut -d ' ' -f 1)"
+ mkdir -p -- ~/.local/bin
+ ln -sf -- ~/.dotfiles/ffmpeg/resize-and-transcode ~/.local/bin/
+ ln -sf -- ~/.dotfiles/ffmpeg/resize-and-transcode-recursively ~/.local/bin/
mkdir -p -- ~/.config/bash/aliases.d
test ! -e ~/.config/bash/aliases.d/ffmpeg || test -L ~/.config/bash/aliases.d/ffmpeg
ln -sf -- ~/.dotfiles/ffmpeg/bash-aliases ~/.config/bash/aliases.d/ffmpeg
@@ -9,3 +16,5 @@ uninstall:
+! ../check-installed ffmpeg
-unlink -- ~/.config/bash/aliases.d/ffmpeg
-rmdir -- ~/.config/bash/aliases.d
+ -unlink -- ~/.local/bin/resize-and-transcode
+ -unlink -- ~/.local/bin/resize-and-transcode-recursively