AboutSummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-07-18 16:30:11 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-12-28 22:19:03 +0100
commit19d68f7dd67dea1e5e11d5014766157d45e5ebf4 (patch)
tree8296654d8019a98d32f615cafd33e1748dee3644
parent74babba80ef6c2084035e1bc5d78d31021341cb6 (diff)
downloadmcron-19d68f7dd67dea1e5e11d5014766157d45e5ebf4.tar.gz
mcron-19d68f7dd67dea1e5e11d5014766157d45e5ebf4.tar.bz2
mcron-19d68f7dd67dea1e5e11d5014766157d45e5ebf4.zip
build: Rename 'mcron.c' to 'wrapper.c'.
* src/mcron.c: Rename to ... * src/wrapper.c: ... this. * Makefile.am (mcron_SOURCES, cron_SOURCES, crontab_SOURCES): Adapt to it. * configure.ac (AC_CONFIG_SRCDIR): Likewise.
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac2
-rw-r--r--src/wrapper.c (renamed from src/mcron.c)5
3 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index d01e730..61f1c7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,15 +23,15 @@ AM_CPPFLAGS = -DPACKAGE_LOAD_PATH=\"$(moduledir)\"
AM_CFLAGS = @GUILE_CFLAGS@
LDADD = @GUILE_LIBS@
-mcron_SOURCES = src/mcron.c
+mcron_SOURCES = src/wrapper.c
mcron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"mcron\""
mcron_DEPENDENCIES = $(modules:%.scm=%.go)
-cron_SOURCES = src/mcron.c
+cron_SOURCES = src/wrapper.c
cron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"cron\""
cron_DEPENDENCIES = $(modules:%.scm=%.go)
-crontab_SOURCES = src/mcron.c
+crontab_SOURCES = src/wrapper.c
crontab_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"crontab\""
crontab_DEPENDENCIES = $(modules:%.scm=%.go)
diff --git a/configure.ac b/configure.ac
index 5ec29aa..5b2fcf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
AC_PREREQ(2.61)
AC_INIT([GNU Mcron], [1.0.8], [bug-mcron@gnu.org])
-AC_CONFIG_SRCDIR([src/mcron.c])
+AC_CONFIG_SRCDIR([src/wrapper.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_REQUIRE_AUX_FILE([test-driver.scm])
AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-override])
diff --git a/src/mcron.c b/src/wrapper.c
index a52c073..a5b46db 100644
--- a/src/mcron.c
+++ b/src/wrapper.c
@@ -1,7 +1,6 @@
-/* mcron - run jobs at scheduled times
-
- Copyright (C) 2015, 2016 Mathieu Lirzin
+/* wrapper.c -- C code booting Guile
Copyright (C) 2003, 2014 Dale Mellor
+ Copyright (C) 2015, 2016 Mathieu Lirzin
This file is part of GNU Mcron.