SummaryRefsLogTreeCommitDiffStats
path: root/makefile.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2015-08-16 10:33:37 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-05-07 11:42:00 +0200
commit3c903bfc808b6fed0c3fff6e78689cfe280d25b3 (patch)
tree7aa0bdc0fea570ccaf3a7dd7b94ac06b7580257c /makefile.am
parent237c234f39e59966cacdab4413cc3e200ac2f491 (diff)
downloadmcron-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.am')
-rw-r--r--makefile.am11
1 files changed, 1 insertions, 10 deletions
diff --git a/makefile.am b/makefile.am
index 61fbe56..aa0b24b 100644
--- a/makefile.am
+++ b/makefile.am
@@ -21,12 +21,9 @@
SUBDIRS = scm/mcron .
-ED = @ED@ # !!!! Are these needed?
CP = @CP@
-CLEANFILES = mcron.c
-
-EXTRA_DIST = makefile.ed mcron.c.template BUGS ChangeLog.old
+EXTRA_DIST = BUGS ChangeLog.old
info_TEXINFOS = doc/mcron.texi
doc_mcron_TEXINFOS = doc/fdl.texi
@@ -40,12 +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
-
dist-hook: gen-ChangeLog
gen_start_date = 2015-06-26