Re: [PATCH V2] misc: add handy tarball targets
From: Carlos Maiolino <hidden>
Date: 2018-08-02 11:17:27
On Wed, Aug 01, 2018 at 04:37:01PM -0500, Eric Sandeen wrote:
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.
I believe the V2 description should also be updated to - simple "targz" and "tarxz" - ? :) After fixing the description: Reviewed-by: Carlos Maiolino <redacted>
quoted hunk ↗ jump to hunk
Signed-off-by: Eric Sandeen <redacted> --- V2: give Darrick names he likes ;) and mark these and a bunch of other targets as .PHONYdiff --git a/Makefile b/Makefile index 6774825..ad35114 100644 --- a/Makefile +++ b/Makefile@@ -178,6 +178,11 @@ $(SRCTARXZ) : default $(SRCTARINC) .gitcensus `cat .gitcensus` $(SRCTARINC) echo Wrote: $@ +targz: $(SRCTAR) +tarxz: $(SRCTARXZ) + +.PHONY: install install-dev dist clean distclean realclean targz tarxz + .gitcensus: $(_FORCE) $(Q)if test -d .git; then \ git ls-files > .gitcensus && echo "new .gitcensus"; \ --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
-- Carlos