diff options
author | lassulus <lass@aidsballs.de> | 2015-08-26 15:27:33 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-08-26 15:27:33 +0200 |
commit | 034c5720fa86f19671b7c3987889c4e9a031cd92 (patch) | |
tree | 5d647060dcfaf0faff9883fc1c68d81ba41e4908 | |
parent | fca67ac0a55a9fed9985604b9b7fe49b8de5f843 (diff) |
make download: make number of jobs configurable
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,8 +1,11 @@ +jobs = 2 + 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 -j4 -k "target=./music bin/yout2ogg" +download: ## you can specify number of jobs with ex. jobs=4 + cat links | parallel -j${jobs} -k "target=./music bin/yout2ogg" add: ##make add url="http://youtube..." add: ##to add link to ./links |