Create an rt-tests.tar file using git-archive so we don't mistakenly pull in uncommitted files Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1f7640b82fa6..07394e1292f7 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,7 @@ CLEANUP += $(if $(wildcard .git), ChangeLog) .PHONY: clean clean: for F in $(CLEANUP); do find -type f -name $$F | xargs rm -f; done + rm -f rt-tests-*.tar rm -f hwlatdetect rm -f tags @@ -165,6 +166,10 @@ release: distclean changelog rm -f ChangeLog cp rt-tests-$(VERSION).tar.gz rt-tests-$(VERSION).tar.asc releases +.PHONY: tarball +tarball: + git archive --worktree-attributes --prefix=rt-tests-${VERSION}/ -o rt-tests-${VERSION}.tar v${VERSION} + .PHONY: push push: release scripts/do-git-push $(VERSION) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html