aboutsummaryrefslogtreecommitdiffstats
path: root/mplayer/Makefile
blob: 372ea974cb4930c72ed018ec9e3e229fb9d0a6f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.POSIX:
include ../common.mk

install:
	$(CHECK_INSTALLED) dash
	mkdir -p -- ~/.config/profile.d
	test ! -d ~/.config/profile.d/mplayer
	ln -sf -- ~/.dotfiles/mplayer/user-profile ~/.config/profile.d/mplayer
	mkdir -p -- ~/.local/bin
	ln -sf -- ~/.dotfiles/mplayer/mplayer ~/.local/bin/

uninstall:
	-unlink -- ~/.config/profile.d/mplayer
	-rmdir -- ~/.config/profile.d
	-rm -rf -- ~/.config/mplayer
	-unlink -- ~/.local/bin/mplayer

.PHONY: install uninstall