SummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-07-23 23:58:06 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-12-28 22:19:03 +0100
commit61f85be19da0e62c899e3b62da403480d881e9f9 (patch)
treea365e9049676949d77353bee5832b64dacefbef6
parent2c9139f6230b0931f7bf06fce0f7f6c0db8b1daf (diff)
downloadmcron-61f85be19da0e62c899e3b62da403480d881e9f9.tar.gz
mcron-61f85be19da0e62c899e3b62da403480d881e9f9.tar.bz2
mcron-61f85be19da0e62c899e3b62da403480d881e9f9.zip
build: Rename (mcron main) to (mcron utils).
* src/mcron/main.scm: Rename to ... * src/mcron/utils.scm: ... this. * src/mcron/scripts/cron.scm: Adapt. * src/mcron/scripts/crontab.scm: Likewise. * src/mcron/scripts/mcron.scm: Likewise. * Makefile.am (dist_mcronmodule_DATA): Likewise.
-rw-r--r--Makefile.am2
-rw-r--r--src/mcron/scripts/cron.scm2
-rw-r--r--src/mcron/scripts/crontab.scm2
-rw-r--r--src/mcron/scripts/mcron.scm2
-rw-r--r--src/mcron/utils.scm (renamed from src/mcron/main.scm)4
5 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 77c9b28..109e27a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,8 +40,8 @@ dist_mcronmodule_DATA = \
src/mcron/base.scm \
src/mcron/environment.scm \
src/mcron/job-specifier.scm \
- src/mcron/main.scm \
src/mcron/redirect.scm \
+ src/mcron/utils.scm \
src/mcron/vixie-specification.scm \
src/mcron/vixie-time.scm
diff --git a/src/mcron/scripts/cron.scm b/src/mcron/scripts/cron.scm
index dd8f5ad..d043d79 100644
--- a/src/mcron/scripts/cron.scm
+++ b/src/mcron/scripts/cron.scm
@@ -21,7 +21,7 @@
#:use-module (mcron base)
#:use-module (mcron config)
#:use-module (mcron job-specifier)
- #:use-module (mcron main)
+ #:use-module (mcron utils)
#:use-module (mcron vixie-specification)
#:use-module (srfi srfi-2)
#:export (main))
diff --git a/src/mcron/scripts/crontab.scm b/src/mcron/scripts/crontab.scm
index 43ae8f6..cf6673a 100644
--- a/src/mcron/scripts/crontab.scm
+++ b/src/mcron/scripts/crontab.scm
@@ -20,7 +20,7 @@
(define-module (mcron scripts crontab)
#:use-module (ice-9 rdelim)
#:use-module (mcron config)
- #:use-module (mcron main)
+ #:use-module (mcron utils)
#:use-module (mcron vixie-specification)
#:export (main))
diff --git a/src/mcron/scripts/mcron.scm b/src/mcron/scripts/mcron.scm
index 30b2d2a..7b82cf3 100644
--- a/src/mcron/scripts/mcron.scm
+++ b/src/mcron/scripts/mcron.scm
@@ -21,7 +21,7 @@
#:use-module (mcron base)
#:use-module (mcron config)
#:use-module (mcron job-specifier) ;for user/system files
- #:use-module (mcron main)
+ #:use-module (mcron utils)
#:use-module (mcron vixie-specification)
#:export (main))
diff --git a/src/mcron/main.scm b/src/mcron/utils.scm
index 74b49e5..7b29971 100644
--- a/src/mcron/main.scm
+++ b/src/mcron/utils.scm
@@ -1,4 +1,4 @@
-;;; main.scm -- helper procedures
+;;;; utils.scm -- helper procedures
;;; Copyright © 2003, 2012 Dale Mellor <dale_mellor@users.sourceforge.net>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;;
@@ -17,7 +17,7 @@
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Mcron. If not, see <http://www.gnu.org/licenses/>.
-(define-module (mcron main)
+(define-module (mcron utils)
#:use-module (ice-9 getopt-long)
#:use-module (ice-9 rdelim)
#:use-module (mcron config)