Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs
@ 2015-07-17 10:20 Thomas De Schampheleire
  2015-07-17 16:53 ` Yann E. MORIN
  2015-07-18  9:11 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas De Schampheleire @ 2015-07-17 10:20 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

The Buildroot release tarballs inadvertently contain a build/docs directory,
containing the manual sources, the generated lists, and manual.text and
manual.pdf (but excluding manual.html).

This directory is populated as $(BUILD_DIR) (==$(O)/build), while O is
set explicitly from the release target to a subdirectory
buildroot-xxxx.yy-git/ which was populated with 'git archive'.

Since the generated manuals are available in docs/manual, which is
also referred to from the README, the build directory is not needed and
should be removed from the release tarball.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 531ac5d..168d62a 100644
--- a/Makefile
+++ b/Makefile
@@ -936,6 +936,7 @@ release: OUT = buildroot-$(BR2_VERSION)
 release:
 	git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
 	$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
+	$(MAKE) O=$(OUT) manual-clean
 	tar rf $(OUT).tar $(OUT)
 	gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
 	bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2
-- 
1.8.5.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs
  2015-07-17 10:20 [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs Thomas De Schampheleire
@ 2015-07-17 16:53 ` Yann E. MORIN
  2015-07-18  9:11 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2015-07-17 16:53 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2015-07-17 12:20 +0200, Thomas De Schampheleire spake thusly:
> From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> 
> The Buildroot release tarballs inadvertently contain a build/docs directory,
> containing the manual sources, the generated lists, and manual.text and
> manual.pdf (but excluding manual.html).
> 
> This directory is populated as $(BUILD_DIR) (==$(O)/build), while O is
> set explicitly from the release target to a subdirectory
> buildroot-xxxx.yy-git/ which was populated with 'git archive'.
> 
> Since the generated manuals are available in docs/manual, which is
> also referred to from the README, the build directory is not needed and
> should be removed from the release tarball.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile b/Makefile
> index 531ac5d..168d62a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -936,6 +936,7 @@ release: OUT = buildroot-$(BR2_VERSION)
>  release:
>  	git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
>  	$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
> +	$(MAKE) O=$(OUT) manual-clean
>  	tar rf $(OUT).tar $(OUT)
>  	gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
>  	bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2
> -- 
> 1.8.5.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs
  2015-07-17 10:20 [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs Thomas De Schampheleire
  2015-07-17 16:53 ` Yann E. MORIN
@ 2015-07-18  9:11 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-07-18  9:11 UTC (permalink / raw)
  To: buildroot

Dear Thomas De Schampheleire,

On Fri, 17 Jul 2015 12:20:35 +0200, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> 
> The Buildroot release tarballs inadvertently contain a build/docs directory,
> containing the manual sources, the generated lists, and manual.text and
> manual.pdf (but excluding manual.html).
> 
> This directory is populated as $(BUILD_DIR) (==$(O)/build), while O is
> set explicitly from the release target to a subdirectory
> buildroot-xxxx.yy-git/ which was populated with 'git archive'.
> 
> Since the generated manuals are available in docs/manual, which is
> also referred to from the README, the build directory is not needed and
> should be removed from the release tarball.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-18  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17 10:20 [Buildroot] [PATCH 1/1] release: remove manual build files from release tarballs Thomas De Schampheleire
2015-07-17 16:53 ` Yann E. MORIN
2015-07-18  9:11 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox