Browse Source

Added install target to Makefile.

joehillen 13 years ago
parent
commit
ef0c08cdfe
2 changed files with 4 additions and 1 deletions
  1. 4 1
      Makefile
  2. BIN
      youtube-dl

+ 4 - 1
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

BIN
youtube-dl