[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-mcron] [PATCH 18/33] main: Add (mcron main) module.
From: |
Mathieu Lirzin |
Subject: |
Re: [Bug-mcron] [PATCH 18/33] main: Add (mcron main) module. |
Date: |
Tue, 13 Oct 2015 02:47:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Mathieu Lirzin <address@hidden> writes:
> Replace 'ed' hack to eval content of scm/mcron/main.scm in the C wrapper
> by executing the C code in the context of (mcron main).
>
> * 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' program.
> * makefile.am, .gitignore: Adjust accordingly.
> ---
[...]
> @@ -40,13 +37,6 @@ mcron_LDADD = @GUILE_LIBS@
> # in turn so that we can do mcron --help during the build process.
> mcron_CFLAGS = @GUILE_CFLAGS@ -DGUILE_LOAD_PATH=\"$(datadir):./scm:...\"
>
> -
> -mcron.c : scm/mcron/main.scm scm/mcron/crontab.scm makefile.ed
> mcron.c.template
> - @echo 'Building mcron.c...'
> - @$(ED) < makefile.ed > /dev/null 2>&1
> - @rm -f mcron.escaped.scm > /dev/null 2>&1
> -
> -
> # Full program prefix.
> fpp = $(DESTDIR)$(bindir)/@real_program_prefix@
The last lines conflict with last version of patch 9.
Here is the updated patch.
0001-main-Add-mcron-main-module.patch
Description: Text Data
--
Mathieu Lirzin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-mcron] [PATCH 18/33] main: Add (mcron main) module.,
Mathieu Lirzin <=