aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>2015-07-17 12:20:35 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-17 19:44:53 +0200
commit15cb98769e462ca0707870418baa68e7e3e10197 (patch)
tree61ddad49f0ec604b132e004b4304713244914f95 /Makefile
parentee4e4a96d71a634d626cc26b9259f2243a588c1a (diff)
downloadbuildroot-15cb98769e462ca0707870418baa68e7e3e10197.tar.gz
buildroot-15cb98769e462ca0707870418baa68e7e3e10197.tar.bz2
release: remove manual build files from release tarballs
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 531ac5dc38..168d62a3a2 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