From 084d61df75e88ef5ddb95b234ebded1ac41d86e0 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 12 Jul 2019 12:19:39 +0000 Subject: [PATCH] REAME.md: Ongoing addition of content. Signed-off-by: Jan Lindemann --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 66aa5159..9c1afa64 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,8 @@ Good luck! implemented. - If you want GNU Make to do what it's designed for for your custom task, i.e. - do the right thing based on file modification times, do the following: + do the right thing based on file modification times, do the following, for + example: TOPDIR = ../.. @@ -176,7 +177,7 @@ Good luck! clean: clean.my-creation distclean: clean - $(MY_CREATION): $(MY_CREATION_INPUT) + %: %.tmpl bash ./my-special-stuff-creator.sh $< > $@.tmp mv $@.tmp $@ clean.my-creation: @@ -199,7 +200,8 @@ Good luck! toplevel directory, and to the proper target root during package creation. - Using the intermediate `$@.tmp` is a good idea in case `my-special-stuff-creator.sh` can fail. - - See `info make` for what the `|` pipe - symbol is for. + - See `info make` for how pattern rules work (`%`), what the `|` pipe - + symbol is for and all that jazz. If you don't know already. - If you want to add arbitrary tasks to the build run, consider the following makefile: