Added install target to Makefile.
[youtube-dl] / Makefile
index e2da02e96ba304fec7e76c5fb604ae973cbf34fa..0de669c12cb326aa396e8f1abc7847525fef2237 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,4 +23,7 @@ compile:
        cat youtube-dl.zip >> youtube-dl
        rm youtube-dl.zip
 
-.PHONY: default compile update update-latest update-readme
+install: youtube-dl
+       install -m 755 --owner root --group root youtube-dl /usr/local/bin/
+
+.PHONY: default compile update update-latest update-readme install