diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2015-08-16 10:33:37 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-05-07 11:42:00 +0200 |
commit | 3c903bfc808b6fed0c3fff6e78689cfe280d25b3 (patch) | |
tree | 7aa0bdc0fea570ccaf3a7dd7b94ac06b7580257c /makefile.ed | |
parent | 237c234f39e59966cacdab4413cc3e200ac2f491 (diff) | |
download | mcron-3c903bfc808b6fed0c3fff6e78689cfe280d25b3.tar.gz mcron-3c903bfc808b6fed0c3fff6e78689cfe280d25b3.tar.bz2 mcron-3c903bfc808b6fed0c3fff6e78689cfe280d25b3.zip |
main: Add (mcron main) module.
Remove 'ed' hack to eval content of scm/mcron/main.scm in the C wrapper.
Use proper libguile functions instead.
* scm/mcron/main.scm (mcron main): New module.
(show-version, show-package-information, show-help, main): Remove
extra newline characters in strings.
* mcron.c.template: Rename to ...
* mcron.c: ... this.
(inner_main): Set current module to (mcron main).
* makefile.ed: Delete file.
* configure.ac: Remove check for 'ed'.
* makefile.am: Adjust accordingly.
* .gitignore: Likewise.
Diffstat (limited to 'makefile.ed')
-rw-r--r-- | makefile.ed | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/makefile.ed b/makefile.ed deleted file mode 100644 index 7047ec7..0000000 --- a/makefile.ed +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2003 Dale Mellor -# -# This file is part of GNU mcron. -# -# GNU mcron is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free -# Software Foundation, either version 3 of the License, or (at your option) -# any later version. -# -# GNU mcron is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along -# with GNU mcron. If not, see <http://www.gnu.org/licenses/>. -# -# -# -e scm/mcron/main.scm -/\(load "crontab.scm"\)/d --1r scm/mcron/crontab.scm -%s/\\/\\\\/g -%s/"/\\"/g -%s/ *;;.*$/ /g -g/^ *$/d -%s/^/\"/ -%s/$/\"/ -w mcron.escaped.scm -e mcron.c.template -/GUILE_PROGRAM_GOES_HERE/d --1r mcron.escaped.scm -w mcron.c -q |