misc: add handy tarball targets
PATCH 1/1 misc: add handy tarball targets
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.
---
Makefile +3 -0
@@ -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"; \
PATCH v2 1/1 misc: add handy tarball targets
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.
---
V2: give Darrick names he likes ;) and mark these and a bunch of other targets as .PHONY
Makefile +5 -0
@@ -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"; \
Quoted 4 lines · Eric Sandeen
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:
Quoted 28 lines
Signed-off-by Eric Sandeen <[email protected]>---
V2: give Darrick names he likes ;) and mark these and a bunch of other targets as .PHONY
Makefile +5
-1@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Carlos