summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-08-17 14:19:54 +0200
committerlassulus <lass@aidsballs.de>2015-08-17 14:19:54 +0200
commit323a66775168b6addb3acddaee0a8ff227ea4bd4 (patch)
tree007d48a894b8826a079f3b8df1dbaa5297e355ff
parent7f1633d80d295b34978ffd5141606d54fd72f4f6 (diff)
add help in Makefile
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 42cd912..1d0e0f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
-download:
+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 | xargs -n 1 bin/yout2ogg
-add:
+add: ##make add url="http://youtube..."
+add: ##to add link to ./links
bin/youtplaylist ${url} >> links