mkone: fix man target (thanks Amavect)

Amavect wrote:
> 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.
front
cinap_lenrek 2019-05-17 01:51:28 +02:00
parent b24ed2bfac
commit 335e019746
1 changed files with 3 additions and 4 deletions

View File

@ -56,8 +56,7 @@ safeinstallall:V:
%.acid: %.$O $HFILES
$CC $CFLAGS -a $stem.c >$target
%.man: $MAN/$stem
cp $stem.man $MAN/$stem
man:V: $TARG.man
$MAN/%: %.man
cp $prereq $target
man:V: $MAN/$TARG