aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/Makefile')
-rw-r--r--ffmpeg/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/ffmpeg/Makefile b/ffmpeg/Makefile
index 4a4fa53..c60008c 100644
--- a/ffmpeg/Makefile
+++ b/ffmpeg/Makefile
@@ -1,13 +1,11 @@
.POSIX:
-include ../common.mk
install:
mkdir -p -- ~/.config/bash/aliases.d
- test ! -d ~/.config/bash/aliases.d/ffmpeg
+ 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
uninstall:
+ +! ../check-installed ffmpeg
-unlink -- ~/.config/bash/aliases.d/ffmpeg
-rmdir -- ~/.config/bash/aliases.d
-
-.PHONY: install uninstall