Message ID | 3aeaf299-136f-b6ea-bde8-63086bdedf92@sandeen.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [V2] misc: add handy tarball targets | expand |
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 <cmaiolino@redhat.com> > > Signed-off-by: Eric Sandeen <sandeen@redhat.com> > --- > > V2: give Darrick names he likes ;) and mark these and a bunch of other > targets as .PHONY > > diff --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
diff --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"; \
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> --- V2: give Darrick names he likes ;) and mark these and a bunch of other targets as .PHONY -- 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