Browse Source

release script: Put docs to docs/ dir.

legacy-pthreads
Martin Pärtel 9 years ago
parent
commit
a614834926
  1. 5
      releasescript/.gitignore
  2. 14
      releasescript/makerelease.sh

5
releasescript/.gitignore vendored

@ -1,5 +1,2 @@
/bindfs-*.tar.gz
/bindfs.1
/bindfs.1.html
/bindfs-ChangeLog.txt
/bindfs-help.txt
/docs

14
releasescript/makerelease.sh

@ -36,11 +36,12 @@ popd
tar cvzf "bindfs-${VERSION}.tar.gz" "bindfs-$VERSION"
# Get the change log and man-page
cp "bindfs-$VERSION/ChangeLog" ./bindfs-ChangeLog.txt
cp "bindfs-$VERSION/src/bindfs.1" ./bindfs.1
mkdir -p ./docs
cp "bindfs-$VERSION/ChangeLog" ./docs/ChangeLog.utf8.txt
cp "bindfs-$VERSION/src/bindfs.1" ./docs/bindfs.1
# Create the HTML man page
rman -f HTML -r "" bindfs.1 > bindfs.1.html
rman -f HTML -r "" docs/bindfs.1 > docs/bindfs.1.html
# Compile the source
pushd "bindfs-$VERSION"
@ -49,14 +50,11 @@ make
popd
# Get the bindfs --help text
"bindfs-$VERSION/src/bindfs" --help > bindfs-help.txt
"bindfs-$VERSION/src/bindfs" --help > docs/bindfs-help.txt
# Copy products to original dir
cp -r "bindfs-$VERSION.tar.gz" \
bindfs-ChangeLog.txt \
bindfs.1 \
bindfs.1.html \
bindfs-help.txt \
docs \
"$OUTPUTDIR/"
# Clean up and we're done

Loading…
Cancel
Save