aboutsummaryrefslogtreecommitdiffstats
path: root/cryptsetup/Makefile
blob: 0666bc65b5366971f565ab52c324a7bc8be285bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:

install:
	../check-installed-shebang mount-devices
	../check-in-path test
	../check-in-path mountpoint
	../check-in-path cryptsetup
	../check-in-path mount
	mkdir -p -- ~/.local/bin
	test ! -e ~/.local/bin/mount-devices || test -L ~/.local/bin/mount-devices
	ln -sf -- ~/.dotfiles/cryptsetup/mount-devices ~/.local/bin/mount-devices

uninstall:
	+! ../check-installed cryptsetup
	-unlink -- ~/.local/bin/mount-devices