chore, finalise cases in yuck_free() unconditionally with a break

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, close pipe descriptor for m4-parent

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide simple ver command to determine version of SCM-managed cwd

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, parse the git describe output

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide hg version snarfer

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide bzr version snarfer

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, extradite version snarfers to yuck-version.{c,h}

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide public version routine yuck_version()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use yuck_version() routine for yuck command ver

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, properly declare the scm enum type

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, kill testing routines from header, they're going to be static in yuck-version.c soon

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, make yuck_version_t a pointer-to-struct type

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, introduce dirty flag in yuck_version_s struct

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, adapt cmd_ver() code to new pointer-to-struct type

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, print 8 hex bytes of revision by default

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor scm finding guts into find_scm()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt git_version() routine to allow for calling from yuck_version()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt bzr_version() routine to allow for calling from yuck_version()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt hg_version() routine to allow for calling from yuck_version()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide custom hex number reader hextou()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>