diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-05-09 14:50:29 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-12-01 00:15:43 +0100 |
commit | c87c643ca19b731ee6c53fbea72af8312ca6a725 (patch) | |
tree | 65a5f15799133ba5fec6f6f42ff7e59a4a7a233e /TODO | |
parent | 73b22946508d55bed9df1c050adeb289ff593540 (diff) | |
download | mcron-c87c643ca19b731ee6c53fbea72af8312ca6a725.tar.gz mcron-c87c643ca19b731ee6c53fbea72af8312ca6a725.tar.bz2 mcron-c87c643ca19b731ee6c53fbea72af8312ca6a725.zip |
all: Separate programs in different executables.
This improves readability and complies with the GNU Coding Standards by
making the behavior of the programs independent of the name used to
invoke them.
* src/mcron/scripts/cron.scm: New file.
* src/mcron/scripts/crontab.scm: Likewise.
* src/mcron/scripts/mcron.scm: Likewise.
* Makefile.am (dist_mcronmodule_DATA): Remove 'src/mcron/crontab.scm'.
(bin_PROGRAMS): Add 'crontab'.
(sbin_PROGRAMS): Add 'cron'.
(mcron_CFLAGS, mcron_LDADD): Rename to ...
(AM_CFLAGS, LDADD): ... these.
(cron_SOURCES, cron_CPPFLAGS, cron_DEPENDENCIES)
(crontab_SOURCES, crontab_CPPFLAGS, crontab_DEPENDENCIES)
(mcron_CPPFLAGS, mcronscriptdir, dist_mcronscript_DATA): New variables.
(modules): Redefine it in terms of other '_DATA' variables.
* src/mcron/crontab.scm: Remove file.
* src/mcron/main.scm (parse-args): New procedure.
(command-name, command-type, options): Remove.
(show-version): Adapt.
(show-help, process-files-in-system-directory, cron-file-descriptors)
(main, process-user-file, process-files-in-user-directory): Move
procedures in the new files.
* src/mcron.c (inner_main): Define the current module at compile time.
* TODO: Update.
* .gitignore: Likewise.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -20,9 +20,6 @@ Maybe in the near future... core or other users' files up. Then allow scheme code in the system crontabs. - * Make mcron behavior not depend on the name used to invoke it, to conform - to GNU Coding Standards. - * Provide a test suite using SRFI-64 API. <http://srfi.schemers.org/srfi-64/srfi-64.html>. |