Commit graph

8 commits

Author SHA1 Message Date
Mathieu Lirzin
c87c643ca1
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.
2016-12-01 00:15:43 +01:00
Mathieu Lirzin
f0feb586b7 maint: Augment TODO.
* TODO <Maybe in the near future>: Add items.
2016-05-07 11:32:19 +02:00
Dale Mellor
c45e7c447b Now runs (only) against guile-2.0. 2014-04-28 13:03:28 +01:00
Dale Mellor
0115be5d13 Unified copyright notices in minor files, removed immutable page covers from texinfo file. 2010-06-19 21:52:22 +01:00
dale_mellor
eb50865add Broken all functionality out into separate modules. 2003-08-03 15:14:54 +00:00
dale_mellor
2c6cfc753d All changes from 0.99.1 to 0.99.2 pre-release. 2003-07-20 15:52:35 +00:00
dale_mellor
62b0403363 Disabled installation of cron, crontab by default. Fixed up all information files to reflect this. 2003-07-05 12:13:19 +00:00
dale_mellor
3725aedd02 Initial version. Production quality, fully complete source but contains known bugs (lots!) 2003-07-04 08:09:04 +00:00