Source trees: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Rules for source trees | Rules for source trees, collected over the years. | ||
==Targets== | |||
* Honor the standard targets of the [http://www.gnu.org/prep/standards/html_node/Standard-Targets.html FSF coding standards]: | |||
** <tt>all</tt> compiles all installable object files, and usually not documentation | |||
** <tt>install</tt> publishes object files. <tt>uninstall</tt> removes them. neither ought write within the tree. | |||
** <tt>dist</tt> rolls up a distributable. | |||
==Cleanup== | ==Cleanup== | ||
<b>Rule: <tt>make clean</tt> in a pristine source tree ought be idempotent</b> | <b>Rule: <tt>make clean</tt> in a pristine source tree ought be idempotent</b> | ||