diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-05-07 13:58:50 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-05-07 23:38:53 +0200 |
commit | bca16da45194df8778f9d1711baa9962f7742fec (patch) | |
tree | 26781b5ac1c9ac7235ea1c650bbefc493a86d3d9 /Makefile.am | |
parent | 418b81e1af8d18c86693cb43ffe89354af28e3a8 (diff) | |
download | mcron-bca16da45194df8778f9d1711baa9962f7742fec.tar.gz mcron-bca16da45194df8778f9d1711baa9962f7742fec.tar.bz2 mcron-bca16da45194df8778f9d1711baa9962f7742fec.zip |
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'.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 17 |
1 files changed, 5 insertions, 12 deletions
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. ## |