diff mbox series

misc: add handy tarball targets

Message ID 89353d1e-b141-e8e6-e039-fb8340a45df0@redhat.com (mailing list archive)
State Superseded
Headers show
Series misc: add handy tarball targets | expand

Commit Message

Eric Sandeen Aug. 1, 2018, 9:21 p.m. UTC
It's a pain to need to know which version we're on to be able
to create a tarball, just make a couple of simple "tarball"
and "tarxz" targets that just DTRT and make a tarball with the
current version.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---


--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 6774825..21983a3 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,9 @@  $(SRCTARXZ) : default $(SRCTARINC) .gitcensus
 	   `cat .gitcensus` $(SRCTARINC)
 	echo Wrote: $@
 
+tarball: $(SRCTAR)
+tarxz: $(SRCTARXZ)
+
 .gitcensus: $(_FORCE)
 	$(Q)if test -d .git; then \
 	  git ls-files > .gitcensus && echo "new .gitcensus"; \