aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md26
1 files changed, 19 insertions, 7 deletions
diff --git a/README.md b/README.md
index 4f62eb3..4e2eb7f 100644
--- a/README.md
+++ b/README.md
@@ -31,17 +31,29 @@ and it should not be included directly, unless you are doing something really sp
### Targets provided by common.mk
-All targets provided by this module are abstract and do nothing. Other modules extend
-these targets. Each target (but `clean`) has its annex `target-stamp` which does
+All targets (but `clean`) provided by this module are abstract and do nothing. Other modules extend
+these targets. Each target has its annex `target-stamp` which does
the real job. Each `*-stamp` is a file created with `touch` command. All internal
dependencies are implemented through these "stamps", but developer can use only basename
for target, e. g. `make unpack` instead of `make unpack-stamp`.
-* `unpack` -
-* `patch` -
-* `configure` -
-* `build` -
-* `install` -
+Meaning of these targets depends on other included modules:
+
+* `unpack` - put sources into the source directory (`./work/source` by default),
+* `patch` - modify sources,
+* `configure` - configure sources, e. g. execute GNU configure or CMake,
+* `build` - build sources, e. g. compile with C compiler,
+* `install` - install files into proto directory.
+* `clean` - remove all stamps and working directory (`./work` by default)
+
+
+`clean` has [double-colon rule](http://www.gnu.org/software/make/manual/html_node/Double_002dColon.html)
+and by default it is:
+
+ clean::
+ rm -f *-stamp
+ rm -rf $(workdir)
+
## ips.mk