docs/cookbook/redoconf-simple: a simple redoconf C++ project.
This is a little simpler than the docs/cookbook/c project, which doesn't actually have a doc yet because there was too much to explain. I think I might make that a follow-on cookbook chapter, for people who have read this simple one. I think this doc is maybe a little too long; I intended it to be "here's what you do to get started" but it turned into "here's what you do to get started, and why it works, in excruciating detail." Not quite sure how to fix. (Also updated some other parts of the docs to refer to redoconf as a real thing now instead of a "maybe someone should write this" thing.)
This commit is contained in:
parent
2bea74df35
commit
e24e045a07
26 changed files with 1025 additions and 46 deletions
9
docs/cookbook/redoconf-simple/configured.do
Normal file
9
docs/cookbook/redoconf-simple/configured.do
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Ensure that an out/ directory exists and that
|
||||
# it has been configured (ie. ../configure has been run).
|
||||
[ -d out ] || (mkdir out && cd out && ../configure)
|
||||
|
||||
# By declaring a dependency on this file *after* running
|
||||
# configure, we can tell redo that reconfiguration is
|
||||
# needed if this file ever disappears (for example, if
|
||||
# the whole out/ directory disappears).
|
||||
redo-ifchange out/default.do
|
||||
Loading…
Add table
Add a link
Reference in a new issue