release-scripts: Remove RFCs in source4/.
[idra/samba.git] / release-scripts / create-tarball
index 3e80cd1f07a1fafcad08cd52387b363315654107..5c9df90d8dcb9505f7387a696d7b7d28fb3f8ff4 100755 (executable)
@@ -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