Skip to content

Commit

Permalink
Fix man page locations in linux and macos package build scripts.
Browse files Browse the repository at this point in the history
man pages have moved to pandoc-cli/man.
  • Loading branch information
jgm committed Dec 12, 2023
1 parent 4a5e5a4 commit a29049b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions linux/make_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ make_deb() {
popd
for manpage in pandoc.1 pandoc-lua.1 pandoc-server.1
do
cp $WORK/man/$manpage "$DEST/share/man/man1/$manpage"
cp "$WORK/pandoc-cli/man/$manpage" "$DEST/share/man/man1/$manpage"
gzip -9 "$DEST/share/man/man1/$manpage"
done
cp $WORK/COPYRIGHT "$COPYRIGHT"
Expand All @@ -84,7 +84,7 @@ make_tarball() {
rm -rf "$TARGET"
mkdir "$TARGET"
mkdir "$TARGET/bin" "$TARGET/share" "$TARGET/share/man" "$TARGET/share/man/man1"
cp $WORK/man/pandoc.1 $WORK/man/pandoc-server.1 $WORK/man/pandoc-lua.1 "$TARGET/share/man/man1"
cp $WORK/pandoc-cli/man/pandoc.1 $WORK/pandoc-cli/man/pandoc-server.1 $WORK/pandoc-cli/man/pandoc-lua.1 "$TARGET/share/man/man1"
gzip -9 "$TARGET"/share/man/man1/*.1
mv pandoc "$TARGET/bin"
pushd "$TARGET/bin"
Expand Down
6 changes: 3 additions & 3 deletions macos/make_macos_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ strip "$DEST/bin/pandoc"

# Copy man pages and license
echo "Copying manuals and license..."
cp man/pandoc.1 "$DEST/share/man/man1/pandoc.1"
cp man/pandoc-server.1 "$DEST/share/man/man1/pandoc-server.1"
cp man/pandoc-lua.1 "$DEST/share/man/man1/pandoc-lua.1"
cp pandoc-cli/man/pandoc.1 "$DEST/share/man/man1/pandoc.1"
cp pandoc-cli/man/pandoc-server.1 "$DEST/share/man/man1/pandoc-server.1"
cp pandoc-cli/man/pandoc-lua.1 "$DEST/share/man/man1/pandoc-lua.1"
"$BINPATH" -s COPYING.md -Vpagetitle=License -o "$RESOURCES/license.html"

# Prepare distribution directory; after downloading, run 'make' to notarize
Expand Down

0 comments on commit a29049b

Please sign in to comment.