summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/release/docs4
-rwxr-xr-xresources/scripts/helpers/build/release/roms4
-rwxr-xr-xresources/scripts/helpers/build/release/src4
-rwxr-xr-xresources/scripts/helpers/build/release/tobuild4
-rwxr-xr-xresources/scripts/helpers/build/release/util4
5 files changed, 20 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs
index c2099a0..966bccf 100755
--- a/resources/scripts/helpers/build/release/docs
+++ b/resources/scripts/helpers/build/release/docs
@@ -52,6 +52,10 @@ if [ ! -f "version" ]; then
rm -f "ChangeLog" "NEWS"
git log > "${distdir}/ChangeLog"
cp "${distdir}/ChangeLog" "${distdir}/NEWS"
+else
+ # building from release archive
+ cp "ChangeLog" "${distdir}/"
+ cp "NEWS" "${distdir}/"
fi
# include version information
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index 8e784c0..e2ef74d 100755
--- a/resources/scripts/helpers/build/release/roms
+++ b/resources/scripts/helpers/build/release/roms
@@ -67,6 +67,10 @@ for payload in *; do
rm -f "ChangeLog" "NEWS"
git log > "${archivename}/ChangeLog"
cp "${archivename}/ChangeLog" "${archivename}/NEWS"
+ else
+ # building from release archive
+ cp "ChangeLog" "${archivename}/"
+ cp "NEWS" "${archivename}/"
fi
# Put the version string in the archive.
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src
index 6dd0620..ed7ec68 100755
--- a/resources/scripts/helpers/build/release/src
+++ b/resources/scripts/helpers/build/release/src
@@ -57,6 +57,10 @@ if [ ! -f "version" ]; then
rm -f "ChangeLog" "NEWS"
git log > "${distdir}/ChangeLog"
cp "${distdir}/ChangeLog" "${distdir}/NEWS"
+else
+ # building from release archive
+ cp "ChangeLog" "${distdir}/"
+ cp "NEWS" "${distdir}/"
fi
# include version information
diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild
index c389fa8..da1b6d9 100755
--- a/resources/scripts/helpers/build/release/tobuild
+++ b/resources/scripts/helpers/build/release/tobuild
@@ -76,6 +76,10 @@ if [ ! -f "version" ]; then
rm -f "ChangeLog" "NEWS"
git log > "${distdir}/ChangeLog"
cp "${distdir}/ChangeLog" "${distdir}/NEWS"
+else
+ # building from release archive
+ cp "ChangeLog" "${distdir}/"
+ cp "NEWS" "${distdir}/"
fi
# include version information
diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util
index cdef345..1a0d72f 100755
--- a/resources/scripts/helpers/build/release/util
+++ b/resources/scripts/helpers/build/release/util
@@ -68,6 +68,10 @@ if [ ! -f "version" ]; then
rm -f "ChangeLog" "NEWS"
git log > "${distdir}/ChangeLog"
cp "${distdir}/ChangeLog" "${distdir}/NEWS"
+else
+ # building from release archive
+ cp "ChangeLog" "${distdir}/"
+ cp "NEWS" "${distdir}/"
fi
# include version information