summaryrefslogtreecommitdiff
path: root/release-scripts/create-tarball
diff options
context:
space:
mode:
Diffstat (limited to 'release-scripts/create-tarball')
-rwxr-xr-xrelease-scripts/create-tarball8
1 files changed, 8 insertions, 0 deletions
diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball
index 3e80cd1f07a..5c9df90d8dc 100755
--- a/release-scripts/create-tarball
+++ b/release-scripts/create-tarball
@@ -197,6 +197,14 @@ function main
pushd ../samba-${version}
+ # Remove RFCs as they are non-free content (with a strict interpretation of
+ # the DFSG)
+
+ if [ -d source4 ]; then
+ echo "Removing RFCs"
+ find source4/ -name "rfc*.txt" -exec rm -f {} \;
+ fi
+
packaging/bin/update-pkginfo ${version} 1 ""
buildDocs