~xerool/fennel-ls

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Create build directory when generating man page

Details
Message ID
<20250312103444.19836-1-micampe@micampe.it>
Sender timestamp
1741779284
DKIM signature
pass
Download raw message
Patch: +1 -0
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.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index fc65ccf..9aea139 100644
--- a/Makefile
+++ b/Makefile
@@ -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" >> $@
-- 
2.39.5 (Apple Git-154)
Details
Message ID
<87h63wux08.fsf@asthra>
In-Reply-To
<20250312103444.19836-1-micampe@micampe.it> (view parent)
Sender timestamp
1741896687
DKIM signature
pass
Download raw message
Michele Campeotto <micampe@micampe.it> writes:

> 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.

Yep, good catch. Thanks.

-Phil
Reply to thread Export thread (mbox)