SummaryRefsLogTreeCommitDiffStats
path: root/mcron.c
Commit message (Expand)AuthorAgeFilesLines
* build: Support VPATH builds....This allows using 'mcron' before it is installed without hardcoding the local build environment in the executable. * build-aux/pre-inst-env.in: New script. * configure.ac (AC_CONFIG_FILES): Create it. (AC_CONFIG_HEADER): Add 'config.h'. (moduledir): New variable. (PACKAGE_LOAD_PATH): new C preprocessor macro. * mcron.c: Include "config.h". (main): Don't overwrite Guile load paths. (inner_main): Prepend Mcron modules load paths. * Makefile.am (.scm.go, doc/mcron.1): Use 'pre-inst-env'. (mcron_CFLAGS): Remove GUILE_LOAD_PATH macro. (noinst_SCRIPTS): New variable. * .gitignore: Update. Mathieu Lirzin2016-05-071-1/+9
* mcron: Mark local functions as static....* mcron.c (inner_main, react_to_terminal_signal, set_cron_signals): Declare static. Mathieu Lirzin2016-05-071-6/+6
* mcron: Rework comments....* mcron.c: Rework comments. Mathieu Lirzin2016-05-071-37/+10
* mcron: Use symbolic constants....* mcron.c (main, react_to_terminal_signal): Use EXIT_SUCCESS and EXIT_FAILURE macros instead of magic numbers. Mathieu Lirzin2016-05-071-2/+3
* mcron: Add forward declarations....* mcron.c: Reorder function definitions sequentially. Mathieu Lirzin2016-05-071-25/+28
* 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. Mathieu Lirzin2016-05-071-0/+102