aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-05-06 07:38:20 +0200
committerMattias Andrée <maandree@kth.se>2024-05-06 07:38:20 +0200
commitd7a43337a05b086533430d1a749fd177439ced66 (patch)
treec9340132c241b5cb630472790762c18fad521d9c /ffmpeg/Makefile
parentmisc updates (diff)
downloaddotfiles-d7a43337a05b086533430d1a749fd177439ced66.tar.gz
dotfiles-d7a43337a05b086533430d1a749fd177439ced66.tar.bz2
dotfiles-d7a43337a05b086533430d1a749fd177439ced66.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'ffmpeg/Makefile')
-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