From bca16da45194df8778f9d1711baa9962f7742fec Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sat, 7 May 2016 13:58:50 +0200 Subject: build: Remove GOBJECTS and GEN_MODULES variables. * Makefile.am (GOBJECTS, GEN_MODULES): Remove variables. (mcronmodule_DATA, DISTCLEANFILES): Inline their contents. (mcron_DEPENDENCIES, CLEANFILES): Use 'mcronmodule_DATA'. --- Makefile.am | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f02b84e..a7baef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ bin_PROGRAMS = mcron mcron_SOURCES = src/mcron.c mcron_CFLAGS = @GUILE_CFLAGS@ -mcron_DEPENDENCIES = $(GOBJECTS) # Build Guile modules before linking. +mcron_DEPENDENCIES = $(mcronmodule_DATA) mcron_LDADD = @GUILE_LIBS@ MODULES = \ @@ -31,16 +31,9 @@ MODULES = \ src/mcron/vixie-specification.scm \ src/mcron/vixie-time.scm -GEN_MODULES = \ - src/mcron/config.scm - -GOBJECTS = \ - $(GEN_MODULES:%.scm=%.go) \ - $(MODULES:%.scm=%.go) - mcronmodule_DATA = \ - $(GOBJECTS) \ - $(GEN_MODULES) + $(MODULES:%.scm=%.go) \ + src/mcron/config.go dist_mcronmodule_DATA = \ $(MODULES) \ @@ -110,8 +103,8 @@ uninstall-hook: fi EXTRA_DIST = BUGS -CLEANFILES = $(GOBJECTS) -DISTCLEANFILES = $(GEN_MODULES) +CLEANFILES = $(mcronmodule_DATA) +DISTCLEANFILES = src/config.scm ## --------------- ## ## Documentation. ## -- cgit v1.2.3