* mkone man:V: patch
@ 2019-05-15 0:24 Amavect .
0 siblings, 0 replies; only message in thread
From: Amavect . @ 2019-05-15 0:24 UTC (permalink / raw)
To: 9front
All,
mkone and mkmany have backwards targets for installing man pages.
This patch makes 'mk man' actually work for mkfiles that include mkone.
mkmany is not easily fixed without breaking changes.
It may go without saying that external repos should write their own mkfiles.
Thanks,
Amavect
diff -r eb2ef71ad17e sys/src/cmd/mkone
--- a/sys/src/cmd/mkone Sat Apr 27 21:55:16 2019 +0200
+++ b/sys/src/cmd/mkone Tue May 14 19:17:46 2019 -0500
@@ -56,8 +56,8 @@
%.acid: %.$O $HFILES
$CC $CFLAGS -a $stem.c >$target
-%.man: $MAN/$stem
- cp $stem.man $MAN/$stem
+$MAN/%: %.man
+ cp $prereq $target
-man:V: $TARG.man
+man:V: $MAN/$TARG
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-15 0:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 0:24 mkone man:V: patch Amavect .
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).