VERSION_DOCS=$(echo $VERSION | sed 's/-rc[0-9]//')
DISTDIR=${1:-"kernel.org"}/v${VERSION_MAJOR}
-GPG_CMD="gpg --use-agent --armor --detach-sign --quiet"
+GPG_PROG=${GPG_PROG:-"gpg"}
+GPG_CMD="$GPG_PROG --use-agent --armor --detach-sign --quiet"
die() {
echo $1
add_html_dir() {
local src="$1" # source dir
local tgt="$2" # target dir
-
+
for fl in $(ls $src/*.html $src/*.css $src/*.png); do
add_file $fl $tgt
done
add_file Documentation/releases/v${VERSION_DOCS}-ReleaseNotes
add_html_dir libmount/docs/html libmount-docs
add_html_dir libblkid/docs/html libblkid-docs
+add_html_dir libsmartcols/docs/html libsmartcols-docs
+add_html_dir libfdisk/docs/html libfdisk-docs
killall gpg-agent