From 737435f08214e09844611edabc3ebf026e8814a3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 6 Dec 2015 05:51:53 +0000 Subject: build/release/src: don't exclude the documentation The documentation is being converted to texinfo, and we will have intergration in libreboot's build system for compiling it into other formats like HTML. --- resources/scripts/helpers/build/release/src | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'resources/scripts/helpers/build/release/src') diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index 294c3c20..b2e893a4 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -46,10 +46,10 @@ mkdir -p "${distdir}/" printf 'Copying sources to %s/\n' "${distdir}" for resource in *; do - case "${resource}" in - release | docs);; - *) cp -R "${resource}" "${distdir}/";; - esac + if [ "${resource}" = "release" ]; then + continue + fi + cp -R "${resource}" "${distdir}/" done # this has to be done before generating @@ -98,10 +98,6 @@ rm -Rf "${distdir}/resources/utilities/coreboot-libre/" rm -f "${distdir}/download" rm -Rf "${distdir}/resources/scripts/helpers/download/" -# The release archive for _src does not include docs, so it -# is nonsense to include the script for it there -rm -f "${distdir}/resources/scripts/helpers/build/release/docs" - # Patches are not needed, because they are already applied to coreboot sources. rm -Rf "${distdir}/resources/libreboot/patch/" # Other patches aren't needed in the release, either -- cgit v1.2.3-70-g09d2