mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
REAME.md: Ongoing addition of content.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
154529ea23
commit
084d61df75
1 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue