Add setisodate utility.
This utility is capable of setting the system clock, taking its argument in ISO8601 format.
This commit is contained in:
parent
64c5ce0d65
commit
21adf7acf0
7 changed files with 121 additions and 0 deletions
18
src/setisodate/build.monolithic
Normal file
18
src/setisodate/build.monolithic
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# These are external variables, and shouldn't clash with anything else
|
||||
# setisodate_MONOLITHIC
|
||||
#
|
||||
|
||||
SRC="obj/setisodate.c"
|
||||
MONOLITHIC_TESTS="src/setisodate/build.app src/setisodate/build.monolithic"
|
||||
|
||||
if [ -z "${setisodate_MONOLITHIC}" ]
|
||||
then
|
||||
MONOLITHIC_SOURCE="$(echo src/setisodate/*.c)"
|
||||
make_monolithic ${SRC} C || return 1
|
||||
|
||||
setisodate_MONOLITHIC=1
|
||||
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
|
||||
fi
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: syntax=sh:expandtab:ts=4:sw=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue