瀏覽代碼

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
 	cat youtube-dl.zip >> youtube-dl
 	rm youtube-dl.zip
 	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