소스 검색

Added install target to Makefile.

joehillen 13 년 전
부모
커밋
ef0c08cdfe
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      Makefile
  2. BIN
      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

BIN
youtube-dl