Skip to contentSkip to conversation

release: remove manual build files from release tarballs

PATCH New Thomas De Schampheleire 3 participants 3 messages Jul 17, 2015 – Jul 18, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 release: remove manual build files from release tarballs

From: Thomas De Schampheleire <[email protected]>

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.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 531ac5d..168d62a 100644
@@ -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
Signature · 1 line
1.8.5.1
#1 lore raw

PATCH 1/1 release: remove manual build files from release tarballs

Thomas, All,

On 2015-07-17 12:20 +0200, Thomas De Schampheleire spake thusly:

Quoted 10 lines

From: Thomas De Schampheleire <[email protected]>

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'.

Quoted 5 lines

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.

Regards,
Yann E. MORIN.

Quoted 19 lines
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 531ac5d..168d62a 100644
@@ -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
Signature · 1 line
1.8.5.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 release: remove manual build files from release tarballs

In reply to Thomas De Schampheleire

Dear Thomas De Schampheleire,

Quoted 10 lines · Thomas De Schampheleire

From: Thomas De Schampheleire <[email protected]>

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'.

Quoted 8 lines

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.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

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