Create build directory when generating man page

The clean target deletes the build directory, but it's only created by
the docs generation target, which is not normally invoked by a build.
This commit is contained in:
Michele Campeotto 2025-03-12 11:34:44 +01:00 committed by Phil Hagelberg
parent b1986395cf
commit d54ccfd777

View File

@ -50,6 +50,7 @@ rm-docs:
rm -rf src/fennel-ls/docs/
build/fennel-ls.1:
mkdir -p build/
echo ".TH FENNEL-LS 1" > $@
pandoc --title-prefix=fennel-ls -t man docs/manual.md >> $@
echo ".SH LICENSE\nCopyright © 2023-2025, Released under the MIT/X11 license" >> $@