tech-pkg archive

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

Re: revbumps and version sharing

Joerg Sonnenberger schrieb:
There is a supposed to be a list of locations the Makefile.common or
whatever is included from.

pkglint warns when a Makefile.common is included without listing the _including_ file. This is only done for Makefile.common and not for *.mk, for the following reason:

(quoting pkglint:)
»Since Makefile.common files usually don't have any comments and therefore not a clearly defined interface, they should at least contain references to all files that include them, so that it is easier to see what effects future changes may have.

If there are more than five packages that use a Makefile.common, you should think about giving it a proper name (maybe and documenting its interface.«


Home | Main Index | Thread Index | Old Index