mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
Makefile: release: really drop build/docs from release tarball
Commit15cb98769e(release: remove manual build files from release tarballs) tried to remove the temporary files from the manual build from the release tarball, but manual-clean only removes build/docs/manual and leaves build/docs in the tarball. Instead use 'make clean' to completely remove the build directory from the tarball. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitc24faa81e8) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -1170,7 +1170,7 @@ release: OUT = buildroot-$(BR2_VERSION)
|
|||||||
release:
|
release:
|
||||||
git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
|
git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
|
||||||
$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
|
$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
|
||||||
$(MAKE) O=$(OUT) manual-clean
|
$(MAKE) O=$(OUT) clean
|
||||||
tar rf $(OUT).tar $(OUT)
|
tar rf $(OUT).tar $(OUT)
|
||||||
gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
|
gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
|
||||||
bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2
|
bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2
|
||||||
|
|||||||
Reference in New Issue
Block a user