aboutsummaryrefslogtreecommitdiffstats
path: root/yt-dlp/Makefile
blob: 4ba60abddf794559bf8119a568d904c2307e8434 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.POSIX:

install:
	mkdir -p -- ~/.config/bash/aliases.d/
	test ! -e ~/.config/bash/aliases.d/yt-dlp || test -L ~/.config/bash/aliases.d/yt-dlp
	ln -sf -- ~/.dotfiles/yt-dlp/bash-aliases ~/.config/bash/aliases.d/yt-dlp

uninstall:
	+! ../check-installed yt-dlp
	-unlink -- ~/.config/bash/aliases.d/yt-dlp
	-rmdir -- ~/.config/bash/aliases.d/