[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

<prog>.1 is a required file?



Poking around in various ports that are marked 'broken' I found
systutils/setquota.

Trying to 'make' this port fails when it gives the error message

make: don't know how to make setquota.cat1. Stop.

I tracked down the 'problem' to bsd.prog.mk where the lines

.if	!defined(MAN)
MAN=	${PROG}.1
.endif	# !defined(MAN)

seem to make <prog>.1 a required file for all programs. Since the 
setquota port only has setquote.8 and getquota.8, the make fails.

Putting "MAN=" into the program makefile works, but now not even
the .8 manpages are installed. The presence of "MAN8= ..." apparently
not being enough.

While I don't particularly care about setquota, I am curious about
what the 'correct' procedure is for creating a program makefile
that works when only non-cat1 man pages are present. I looked at the
mail archives but couldn't spot a discussion of this.

Any thoughts?

.... Ken



Visit your host, monkey.org