summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c665ee65425555c0244f08c612904ef6706cce21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
help:         ## Show this help.
		@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

download:     ## download all links to ./music
	cat links | parallel -j5 -k "target=./music bin/yout2ogg"

add:           ##make add url="http://youtube..."
add:           ##to add link to ./links
	bin/youtplaylist ${url} >> links

check:        ## check for missing songs
check:        ## make download should be run first
	cat links | musicDir=./music xargs -n1 bin/checkMissing