SummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-12-28 23:55:43 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-12-28 23:59:54 +0100
commitba294d6a3ba4d086bc9571d62c705ab6eab200e3 (patch)
treee208805a5558748bd010dda915a126e6f043308b
parentaaf1b08404b4f06ee31f1de06e8d40c74aa5f3ae (diff)
downloadmcron-ba294d6a3ba4d086bc9571d62c705ab6eab200e3.tar.gz
mcron-ba294d6a3ba4d086bc9571d62c705ab6eab200e3.tar.bz2
mcron-ba294d6a3ba4d086bc9571d62c705ab6eab200e3.zip
build: Use portable substitution references.
* Makefile.am (bin_mcron_DEPENDENCIES, bin_cron_DEPENDENCIES) (bin_crontab_DEPENDENCIES, mcronmodule_DATA, mcronscript_DATA) (CLEANFILES): Use portable substitution references.
-rw-r--r--Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index b74238c..45bb941 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,15 +26,15 @@ LDADD = @GUILE_LIBS@
bin_mcron_SOURCES = src/wrapper.c
bin_mcron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"mcron\""
-bin_mcron_DEPENDENCIES = $(modules:%.scm=%.go)
+bin_mcron_DEPENDENCIES = $(modules:.scm=.go)
bin_cron_SOURCES = src/wrapper.c
bin_cron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"cron\""
-bin_cron_DEPENDENCIES = $(modules:%.scm=%.go)
+bin_cron_DEPENDENCIES = $(modules:.scm=.go)
bin_crontab_SOURCES = src/wrapper.c
bin_crontab_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"crontab\""
-bin_crontab_DEPENDENCIES = $(modules:%.scm=%.go)
+bin_crontab_DEPENDENCIES = $(modules:.scm=.go)
dist_mcronmodule_DATA = \
src/mcron/base.scm \
@@ -46,7 +46,7 @@ dist_mcronmodule_DATA = \
src/mcron/vixie-time.scm
mcronmodule_DATA = \
- $(dist_mcronmodule_DATA:%.scm=%.go) \
+ $(dist_mcronmodule_DATA:.scm=.go) \
src/mcron/config.scm \
src/mcron/config.go
@@ -56,7 +56,7 @@ dist_mcronscript_DATA = \
src/mcron/scripts/crontab.scm \
src/mcron/scripts/mcron.scm
-mcronscript_DATA = $(dist_mcronscript_DATA:%.scm=%.go)
+mcronscript_DATA = $(dist_mcronscript_DATA:.scm=.go)
modules = \
$(dist_mcronmodule_DATA) \
@@ -150,7 +150,7 @@ EXTRA_DIST = \
MAINTAINERCLEANFILES = $(dist_man_MANS)
DISTCLEANFILES = src/config.scm
CLEANFILES = \
- $(modules:%.scm=%.go) \
+ $(modules:.scm=.go) \
src/mcron/config.go
## --------------- ##