* [PATCH] misc: add handy tarball targets
@ 2018-08-01 21:21 Eric Sandeen
2018-08-01 21:37 ` [PATCH V2] " Eric Sandeen
0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2018-08-01 21:21 UTC (permalink / raw)
To: linux-xfs
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>
---
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"; \
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V2] misc: add handy tarball targets
2018-08-01 21:21 [PATCH] misc: add handy tarball targets Eric Sandeen
@ 2018-08-01 21:37 ` Eric Sandeen
2018-08-02 9:27 ` Carlos Maiolino
0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2018-08-01 21:37 UTC (permalink / raw)
To: Eric Sandeen, linux-xfs
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
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"; \
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2] misc: add handy tarball targets
2018-08-01 21:37 ` [PATCH V2] " Eric Sandeen
@ 2018-08-02 9:27 ` Carlos Maiolino
0 siblings, 0 replies; 3+ messages in thread
From: Carlos Maiolino @ 2018-08-02 9:27 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Eric Sandeen, linux-xfs
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
--
Carlos
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-02 11:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01 21:21 [PATCH] misc: add handy tarball targets Eric Sandeen
2018-08-01 21:37 ` [PATCH V2] " Eric Sandeen
2018-08-02 9:27 ` Carlos Maiolino
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.