SummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--ChangeLog9
-rw-r--r--README--git11
-rw-r--r--configure.ac7
-rw-r--r--doc/config.texi.in5
-rw-r--r--makefile.am9
-rw-r--r--mcron.texinfo.in (renamed from doc/mcron.texi)102
7 files changed, 65 insertions, 87 deletions
diff --git a/.gitignore b/.gitignore
index 2bedd6e..00fa239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,18 +10,13 @@ config.status
configure
core.scm
depcomp
-/doc/.dirstamp
-/doc/config.texi
-/doc/mcron.info
-/doc/mcron.1
-/doc/stamp-vti
-/doc/version.texi
install-sh
makefile
makefile.in
/mcron
mcron.c
-/mdate-sh
+mcron.info
*.o
+mcron.texinfo
missing
texinfo.tex
diff --git a/ChangeLog b/ChangeLog
index 806a03f..cccecbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,14 +1,5 @@
2015-06-26 Mathieu Lirzin <mthl@openmailbox.org>
- Fix build of the manual.
- * mcron.texinfo.in: Move to ...
- * doc/mcron.texi: ... Here. New file.
- * doc/config.texi.in: New file.
- * configure.ac: Adapt to it.
- * makefile.am: Likewise.
- * .gitignore: Likewise.
- * README--git: Likewise.
-
Add missing 'makefile.am'.
* scm/mcron/makefile.am: New file.
* .gitignore: Ignore 'mcron' only in the top-level directory.
diff --git a/README--git b/README--git
index 9ebaa0d..43e9890 100644
--- a/README--git
+++ b/README--git
@@ -1,7 +1,6 @@
GNU mcron --- README--git -*-text-*-
Copyright (C) 2012, 2014 Dale Mellor
- Copyright (C) 2015 Mathieu Lirzin
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -11,9 +10,13 @@ GNU mcron --- README--git -*-text-*-
If you have pulled mcron from the GIT repository, these are the steps you will
need to take to build it the first time:
-1) autoreconf -vfi
-2) ./configure --prefix={wherever}
-3) make install
+1) aclocal
+2) autoconf
+3) automake -a (will error)
+4) ./configure (will error)
+5) automake -a
+6) ./configure --prefix={wherever}
+7) make install
After that it should just be a simple matter of typing `make install' when you
diff --git a/configure.ac b/configure.ac
index b4ec9f6..764ea03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,6 @@
# Copyright (C) 2003, 2005, 2012, 2014 Dale Mellor
-# Copyright (C) 2015 Mathieu Lirzin
#
# This file is part of GNU mcron.
#
@@ -175,8 +174,6 @@ AC_SUBST(CONFIG_TMP_DIR)
real_program_prefix=`echo $program_prefix | sed s/NONE//`
AC_SUBST(real_program_prefix)
-AC_CONFIG_FILES([doc/config.texi
- makefile
- scm/mcron/makefile
- scm/mcron/config.scm])
+
+AC_CONFIG_FILES(mcron.texinfo makefile scm/mcron/makefile scm/mcron/config.scm)
AC_OUTPUT
diff --git a/doc/config.texi.in b/doc/config.texi.in
deleted file mode 100644
index 50d9a18..0000000
--- a/doc/config.texi.in
+++ /dev/null
@@ -1,5 +0,0 @@
-@set CONFIG_SOCKET_FILE @CONFIG_SOCKET_FILE@
-@set CONFIG_SPOOL_DIR @CONFIG_SPOOL_DIR@
-@set CONFIG_PID_FILE @CONFIG_PID_FILE@
-@set CONFIG_ALLOW_FILE @CONFIG_ALLOW_FILE@
-@set CONFIG_DENY_FILE @CONFIG_DENY_FILE@
diff --git a/makefile.am b/makefile.am
index 2229893..633cf2f 100644
--- a/makefile.am
+++ b/makefile.am
@@ -1,6 +1,5 @@
## Makefile for the toplevel directory of mcron.
## Copyright (C) 2003 Dale Mellor
-## Copyright (C) 2015 Mathieu Lirzin
##
# This file is part of GNU mcron.
#
@@ -32,9 +31,9 @@ CLEANFILES = mcron.c
EXTRA_DIST = makefile.ed mcron.c.template BUGS
-info_TEXINFOS = doc/mcron.texi
+info_TEXINFOS = mcron.texinfo
-dist_man_MANS = doc/mcron.1
+dist_man_MANS = mcron.1
bin_PROGRAMS = mcron
mcron_SOURCES = mcron.c
@@ -80,6 +79,6 @@ uninstall-hook:
# Not part of formal package building, but a rule for manual use to get the
# elemental man page. Will only work once the mcron program is installed.
-$(dist_man_MANS): mcron.c
+mcron.1 : mcron.c
$(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
- ./mcron > $@
+ ./mcron > mcron.1
diff --git a/doc/mcron.texi b/mcron.texinfo.in
index cb97a06..bbf8e5b 100644
--- a/doc/mcron.texi
+++ b/mcron.texinfo.in
@@ -1,14 +1,12 @@
\input texinfo
@c %**start of header
@setfilename mcron.info
-@include config.texi
-@include version.texi
-@settitle mcron @value{VERSION}
+@settitle mcron @VERSION@
@c %**end of header
@syncodeindex fn cp
-@copying This manual is for GNU mcron (version @value{VERSION}), which is a
+@copying This manual is for GNU mcron (version @VERSION@), which is a
program for running jobs at scheduled times.
Copyright @copyright{} 2003, 2005, 2006, 2012, 2014 Dale Mellor
@@ -70,36 +68,36 @@ running jobs at scheduled times.
Simple examples
-* Guile Simple Examples::
-* Vixie Simple Examples::
+* Guile Simple Examples::
+* Vixie Simple Examples::
Full available syntax
-* Guile Syntax::
-* Extended Guile examples::
-* Vixie Syntax::
+* Guile Syntax::
+* Extended Guile examples::
+* Vixie Syntax::
Extended Guile examples
-* AT commands::
-* Every second Sunday::
-* Two hours every day::
-* Missing the first appointment::
-* Penultimate day of every month::
+* AT commands::
+* Every second Sunday::
+* Two hours every day::
+* Missing the first appointment::
+* Penultimate day of every month::
Vixie
-* Paul Vixie's copyright::
-* Crontab file::
-* Incompatibilities with old Unices::
+* Paul Vixie's copyright::
+* Crontab file::
+* Incompatibilities with old Unices::
Detailed invoking
-* Invoking mcron::
-* Invoking cron or crond::
+* Invoking mcron::
+* Invoking cron or crond::
* Invoking crontab::
* Behaviour on laptops::
-* Exit codes::
+* Exit codes::
Guile modules
@@ -184,8 +182,8 @@ been to allow such simple specifications to be made easily. The
examples show how to create the command descriptions, and subsequently
how to run mcron to make them happen.
@menu
-* Guile Simple Examples::
-* Vixie Simple Examples::
+* Guile Simple Examples::
+* Vixie Simple Examples::
@end menu
@node Guile Simple Examples, Vixie Simple Examples, Simple examples, Simple examples
@@ -260,9 +258,9 @@ on your system, as root.
@node Syntax, Invoking, Simple examples, Top
@chapter Full available syntax
@menu
-* Guile Syntax::
-* Extended Guile examples::
-* Vixie Syntax::
+* Guile Syntax::
+* Extended Guile examples::
+* Vixie Syntax::
@end menu
@node Guile Syntax, Extended Guile examples, Syntax, Syntax
@section Guile Syntax
@@ -394,11 +392,11 @@ they seem. The following examples illustrate some pitfalls, and
demonstrate how to code around them.
@menu
-* AT commands::
-* Every second Sunday::
-* Two hours every day::
-* Missing the first appointment::
-* Penultimate day of every month::
+* AT commands::
+* Every second Sunday::
+* Two hours every day::
+* Missing the first appointment::
+* Penultimate day of every month::
@end menu
@node AT commands, Every second Sunday, Extended Guile examples, Extended Guile examples
@@ -547,9 +545,9 @@ the variable and runs the command in the user's default shell, as
advertised by the /etc/passwd file.
@menu
-* Paul Vixie's copyright::
-* Crontab file::
-* Incompatibilities with old Unices::
+* Paul Vixie's copyright::
+* Crontab file::
+* Incompatibilities with old Unices::
@end menu
@@ -798,11 +796,11 @@ place in the part which implements the mcron personality.
@menu
-* Invoking mcron::
-* Invoking cron or crond::
+* Invoking mcron::
+* Invoking cron or crond::
* Invoking crontab::
* Behaviour on laptops::
-* Exit codes::
+* Exit codes::
@end menu
@node Invoking mcron, Invoking cron or crond, Invoking, Invoking
@@ -895,21 +893,21 @@ standard output.
@cindex invoking cron
@cindex crond, invokation
@cindex invoking crond
-@cindex @value{CONFIG_SPOOL_DIR}
-@cindex @value{CONFIG_SOCKET_FILE}
+@cindex @CONFIG_SPOOL_DIR@
+@cindex @CONFIG_SOCKET_FILE@
NOTE THAT THIS SECTION ONLY APPLIES IF THE @code{cron} or
@code{crond}, and @code{crontab} PROGRAMS HAVE BEEN INSTALLED BY THE
SYSTEM ADMINISTRATOR.
If the program runs by the name of @code{cron} or @code{crond}, then
-it will read all the files in @code{@value{CONFIG_SPOOL_DIR}} (which
-should only be readable by root) and the file @code{/etc/crontab}, and
-then detaches itself from the terminal to live forever as a daemon
+it will read all the files in @code{@CONFIG_SPOOL_DIR@} (which should only
+be readable by root) and the file @code{/etc/crontab}, and then
+detaches itself from the terminal to live forever as a daemon
process. Additionally, it creates a UNIX socket at
-@code{@value{CONFIG_SOCKET_FILE}}, and listens for messages sent to
-that socket consisting of a user name whose crontabs have been
-changed. In this case, the program will re-read that user's crontab.
-This is for correct functioning with the crontab program.
+@code{@CONFIG_SOCKET_FILE@}, and listens for messages sent to that socket
+consisting of a user name whose crontabs have been changed. In this
+case, the program will re-read that user's crontab. This is for
+correct functioning with the crontab program.
Further, if the @code{--noetc} option was not used, a job is scheduled
to run every minute to check if /etc/crontab has been modified
@@ -1062,7 +1060,7 @@ No problems.
@item 1
An attempt has been made to start cron but there is already a
-@value{CONFIG_PID_FILE} file. If there really is no other cron daemon
+@CONFIG_PID_FILE@ file. If there really is no other cron daemon
running (this does not include invokations of mcron) then you should
remove this file before attempting to run cron.
@@ -1080,9 +1078,9 @@ to be specified in one of these forms.
@item 4
An attempt to run cron has been made by a user who does not have
-permission to access the crontabs in @value{CONFIG_SPOOL_DIR}. These
-files should be readable only by root, and the cron daemon must be run
-as root.
+permission to access the crontabs in @CONFIG_SPOOL_DIR@. These files
+should be readable only by root, and the cron daemon must be run as
+root.
@item 5
An attempt to run mcron has been made, but there are no jobs to
@@ -1090,7 +1088,7 @@ schedule!
@item 6
The system administrator has blocked this user from using crontab with
-the files @value{CONFIG_ALLOW_FILE} and @value{CONFIG_DENY_FILE}.
+the files @CONFIG_ALLOW_FILE@ and @CONFIG_DENY_FILE@.
@item 7
Crontab has been run with more than one of the arguments @code{-l},
@@ -1250,7 +1248,7 @@ This module is introduced to a program with the command
@code{(use-modules (mcron redirect))}.
This module provides the @code{with-mail-out} function, described
-fully in @ref{Guile Syntax}.
+fully in @ref{Guile Syntax}.
@node The vixie-time module, The job-specifier module, The redirect module, Guile modules
@section The vixie-time module
@@ -1327,7 +1325,7 @@ return silently. Otherwise, the behaviour is identical to
Once this module has been declared in a program, a crontab file can be
used to augment the current job list with a call to
-@code{read-vixie-file}.
+@code{read-vixie-file}.
@node Index, , Guile modules, Top
@unnumbered Index