浏览代码

Added install target to Makefile.

joehillen 13 年之前
父节点
当前提交
ef0c08cdfe
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Makefile
  2. 二进制
      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

二进制
youtube-dl