diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-05-07 13:08:06 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-05-07 23:38:53 +0200 |
commit | 418b81e1af8d18c86693cb43ffe89354af28e3a8 (patch) | |
tree | 36be9c8ec33e0a437552a82285cf972847993ddb /src | |
parent | 52364699ed36e53ef5f913f1511f6a8e182e80ed (diff) | |
download | mcron-418b81e1af8d18c86693cb43ffe89354af28e3a8.tar.gz mcron-418b81e1af8d18c86693cb43ffe89354af28e3a8.tar.bz2 mcron-418b81e1af8d18c86693cb43ffe89354af28e3a8.zip |
base: Rename (mcron core) module to (mcron base).
The 'configure' script deletes the 'core.*' files. Having a file named
'base.scm' instead of 'core.scm' simplifies the build process without
changing the semantics.
* src/mcron/mcron-core.scm: Rename to ...
* src/mcron/base.scm: ... this.
All module users changed.
* Makefile.am (MODULES): Add 'src/mcron/base.scm'.
(CP): Remove variable.
(src/mcron/core.scm): Remove target.
(GEN_MODULES): Remove 'src/mcron/core.scm'.
(dist_mcronmodule_DATA): Remove 'src/mcron/mcron-core.scm'
* doc/mcron.texi: Adapt to name change.
* .gitignore: Update.
Diffstat (limited to 'src')
-rw-r--r-- | src/mcron/base.scm (renamed from src/mcron/mcron-core.scm) | 2 | ||||
-rw-r--r-- | src/mcron/job-specifier.scm | 7 | ||||
-rw-r--r-- | src/mcron/main.scm | 4 | ||||
-rw-r--r-- | src/mcron/vixie-specification.scm | 2 |
4 files changed, 8 insertions, 7 deletions
diff --git a/src/mcron/mcron-core.scm b/src/mcron/base.scm index 13781c9..7094dbc 100644 --- a/src/mcron/mcron-core.scm +++ b/src/mcron/base.scm @@ -18,7 +18,7 @@ -(define-module (mcron core) +(define-module (mcron base) #:use-module (mcron environment) #:use-module (srfi srfi-9) #:export (add-job diff --git a/src/mcron/job-specifier.scm b/src/mcron/job-specifier.scm index 1c2f9d9..9e13551 100644 --- a/src/mcron/job-specifier.scm +++ b/src/mcron/job-specifier.scm @@ -20,12 +20,13 @@ ;; This module defines all the functions that can be used by scheme mcron ;; configuration files, namely the procedures for working out next times, the -;; job procedure for registering new jobs (actually a wrapper around the core -;; add-job function), and the procedure for declaring environment modifications. +;; job procedure for registering new jobs (actually a wrapper around the +;; base add-job function), and the procedure for declaring environment +;; modifications. (define-module (mcron job-specifier) #:use-module (ice-9 match) - #:use-module (mcron core) + #:use-module (mcron base) #:use-module (mcron environment) #:use-module (mcron vixie-time) #:use-module (srfi srfi-1) diff --git a/src/mcron/main.scm b/src/mcron/main.scm index 1f2b068..db7dfd6 100644 --- a/src/mcron/main.scm +++ b/src/mcron/main.scm @@ -25,7 +25,7 @@ #:use-module (ice-9 rdelim) #:use-module (ice-9 regex) #:use-module (mcron config) - #:use-module (mcron core) + #:use-module (mcron base) #:use-module (mcron job-specifier) #:use-module (mcron vixie-specification) #:use-module (srfi srfi-2) @@ -389,7 +389,7 @@ option.\n") (lambda () (display (getpid)) (newline))))) ;; Now the main loop. Forever execute the run-job-loop procedure in the - ;; mcron core, and when it drops out (can only be because a message has come + ;; mcron base, and when it drops out (can only be because a message has come ;; in on the socket) we process the socket request before restarting the ;; loop again. Sergey Poznyakoff: we can also drop out of run-job-loop ;; because of a SIGCHLD, so must test FDES-LIST. diff --git a/src/mcron/vixie-specification.scm b/src/mcron/vixie-specification.scm index 5cd1528..f055383 100644 --- a/src/mcron/vixie-specification.scm +++ b/src/mcron/vixie-specification.scm @@ -30,7 +30,7 @@ read-vixie-file check-system-crontab) #:use-module ((mcron config) :select (config-socket-file)) - #:use-module (mcron core) + #:use-module (mcron base) #:use-module (mcron job-specifier) #:use-module (mcron redirect) #:use-module (mcron vixie-time)) |