aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjoehillen <joehillen@gmail.com>2012-07-22 13:36:22 -0700
committerjoehillen <joehillen@gmail.com>2012-07-22 13:36:22 -0700
commitef0c08cdfe05295f7dc5b164f187e2359970cde1 (patch)
treea9b14f28714d9b1f387c24dc767f54a6f2a61646 /Makefile
parent3210735c499e6a7d0b4df4b8120e17bd7ba8927b (diff)
Added install target to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2da02e96..0de669c12 100644
--- 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