summaryrefslogtreecommitdiff
path: root/Makefile
blob: 86ac73f7624564f1557bd38a612cdf1fb6148690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
stow_dirs = $(wildcard */)
.PHONY : stow
stow :
	stow --no-folding --target $(HOME) --verbose $(stow_dirs)

.PHONY : stow-verbose
# verbosity goes from 0 to 4
VERBOSITY=1
stow-verbose :
	stow --verbose $(VERBOSITY) --no-folding --target $(HOME) --verbose $(stow_dirs)

.PHONY : dry-run
dry-run :
	stow --no --no-folding --target $(HOME) --verbose $(stow_dirs)

.PHONY : restow
restow :
	stow --no-folding --target $(HOME) --verbose --restow $(stow_dirs)

# Do this *before* moving to another directory.
.PHONY : delete
delete :
	stow --no-folding --target $(HOME) --verbose --delete $(stow_dirs)