Added install target to Makefile.
authorjoehillen <joehillen@gmail.com>
Sun, 22 Jul 2012 20:36:22 +0000 (13:36 -0700)
committerjoehillen <joehillen@gmail.com>
Sun, 22 Jul 2012 20:36:22 +0000 (13:36 -0700)
Makefile
youtube-dl

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
index b3e0cd4221b302881fc5ad75746dd5fc9ad0c7fd..0a59de83b7ee43b69175850e6ed2714b38c7937c 100755 (executable)
Binary files a/youtube-dl and b/youtube-dl differ