diff options
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | Makefile.am | 28 | ||||
-rw-r--r-- | build-aux/pre-inst-env.in | 2 |
3 files changed, 18 insertions, 18 deletions
@@ -5,6 +5,9 @@ *~ .deps .dirstamp +/bin/cron +/bin/crontab +/bin/mcron /build-aux/compile /build-aux/config.guess /build-aux/config.sub @@ -13,8 +16,6 @@ /build-aux/mdate-sh /build-aux/missing /build-aux/texinfo.tex -/cron -/crontab /doc/config.texi /doc/cron.8 /doc/crontab.1 @@ -22,7 +23,6 @@ /doc/mcron.info /doc/stamp-vti /doc/version.texi -/mcron /mdate-sh /.version INSTALL diff --git a/Makefile.am b/Makefile.am index a1d6be4..d31eacb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,24 +17,24 @@ # You should have received a copy of the GNU General Public License # along with GNU Mcron. If not, see <http://www.gnu.org/licenses/>. -bin_PROGRAMS = mcron crontab -sbin_PROGRAMS = cron +bin_PROGRAMS = bin/mcron bin/crontab +sbin_PROGRAMS = bin/cron AM_CPPFLAGS = -DPACKAGE_LOAD_PATH=\"$(moduledir)\" AM_CFLAGS = @GUILE_CFLAGS@ LDADD = @GUILE_LIBS@ -mcron_SOURCES = src/wrapper.c -mcron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"mcron\"" -mcron_DEPENDENCIES = $(modules:%.scm=%.go) +bin_mcron_SOURCES = src/wrapper.c +bin_mcron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"mcron\"" +bin_mcron_DEPENDENCIES = $(modules:%.scm=%.go) -cron_SOURCES = src/wrapper.c -cron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"cron\"" -cron_DEPENDENCIES = $(modules:%.scm=%.go) +bin_cron_SOURCES = src/wrapper.c +bin_cron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"cron\"" +bin_cron_DEPENDENCIES = $(modules:%.scm=%.go) -crontab_SOURCES = src/wrapper.c -crontab_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"crontab\"" -crontab_DEPENDENCIES = $(modules:%.scm=%.go) +bin_crontab_SOURCES = src/wrapper.c +bin_crontab_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"crontab\"" +bin_crontab_DEPENDENCIES = $(modules:%.scm=%.go) dist_mcronmodule_DATA = \ src/mcron/base.scm \ @@ -180,13 +180,13 @@ gen_man = \ *) : ;; \ esac -$(srcdir)/doc/mcron.1: src/mcron/scripts/mcron.scm mcron +$(srcdir)/doc/mcron.1: src/mcron/scripts/mcron.scm bin/mcron -@prog="mcron"; man_section=1; $(gen_man) -$(srcdir)/doc/crontab.1: src/mcron/scripts/crontab.scm crontab +$(srcdir)/doc/crontab.1: src/mcron/scripts/crontab.scm bin/crontab -@prog="crontab"; man_section=1; $(gen_man) -$(srcdir)/doc/cron.8: src/mcron/scripts/cron.scm cron +$(srcdir)/doc/cron.8: src/mcron/scripts/cron.scm bin/cron -@prog="cron"; man_section=8; $(gen_man) ## -------------- ## diff --git a/build-aux/pre-inst-env.in b/build-aux/pre-inst-env.in index ea866ee..75a8d70 100644 --- a/build-aux/pre-inst-env.in +++ b/build-aux/pre-inst-env.in @@ -24,7 +24,7 @@ GUILE_LOAD_COMPILED_PATH="$abs_top_builddir/src${GUILE_LOAD_COMPILED_PATH:+:}$GU GUILE_LOAD_PATH="$abs_top_builddir/src:$abs_top_srcdir/src${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH" export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH -PATH="$abs_top_builddir:$PATH" +PATH="$abs_top_builddir/bin:$PATH" export PATH # Define $MCRON_UNINSTALLED to prevent 'mcron' from prepending @moduledir@ to |