소스 검색

Makefile: added a dist target.

Juan RP 13 년 전
부모
커밋
411df83ee0
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      Makefile

+ 6 - 1
Makefile

@@ -17,4 +17,9 @@ install: all
 clean:
 	-rm -f mklive.sh
 
-.PHONY: all clean install
+dist:
+	@echo "Building distribution tarball for tag: v$(VERSION) ..."
+	-@git archive --format=tar --prefix=void-mklive-$(VERSION)/ \
+		v$(VERSION) | xz -9 > ~/void-mklive-$(VERSION).tar.xz
+
+.PHONY: all clean install dist