commit | 44eb2088299f10d45a1b3950285c3314217e0f44 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@swtch.com> | Tue Aug 25 15:59:43 2015 -0400 |
committer | Russ Cox <rsc@swtch.com> | Thu Aug 27 00:36:40 2015 +0000 |
tree | 6a934a03efa3a62d299f64c6cbe4bbaf9869f12c | |
parent | 775cb933ecea6361717ef1def27b5d9e90c385fd [diff] |
mk: avoid infinite loop when targets are repeated Fixes "mk -f /tmp/x.mk y x" or "mk -f /tmp/x.mk" where /tmp/x.mk is: x y x: f echo hi Change-Id: I7fa87dc4750c04fdba010b990c190722b432b333 Reviewed-on: https://plan9port-review.googlesource.com/1361 Reviewed-by: Russ Cox <rsc@swtch.com>
This is a port of many Plan 9 libraries and programs to Unix.
To install, run ./INSTALL. It builds mk and then uses mk to run the rest of the installation.
For more details, see install(1), at install.txt in this directory and at http://swtch.com/plan9port/man/man1/install.html.
See http://swtch.com/plan9port/man/ for more documentation. (Documentation is also in this tree, but you need to run a successful install first. After that, “9 man 1 intro”.)
Intro(1) contains a list of man pages that describe new features or differences from Plan 9.
If you'd like to help out, great! The TODO file contains a small list.
If you port this code to other architectures, please share your changes so others can benefit.
Please use codereview(1) to prepare patches.
You can use Git to keep your local copy up-to-date as we make changes and fix bugs. See the git(1) man page here (“9 man git”) for details on using Git.
Mailing list: http://groups.google.com/group/plan9port-dev
Issue tracker: http://code.swtch.com/plan9port/issues/
Submitting changes: http://swtch.com/go/codereview
Russ Cox rsc@swtch.com