From 137d07d3edd33da1881ffc9db65fa9e4f378148f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 15 Aug 2010 19:18:20 +0200 Subject: Make sure compiled files are installed after source files. * guile-vm.am (skr_install_go_files): New variable. (install-nobase_nodist_moduleDATA): New target. --- guile-vm.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guile-vm.am b/guile-vm.am index 8b291c5..37acca4 100644 --- a/guile-vm.am +++ b/guile-vm.am @@ -28,6 +28,14 @@ CLEANFILES += $(GOBJECTS) SUFFIXES += .go +# Make sure source files are installed first, so that the mtime of +# installed compiled files is greater than that of installed source +# files. See +# +# for details. +skr_install_go_files = install-nobase_nodist_moduleDATA +$(skr_install_go_files): install-nobase_dist_moduleDATA + else !ENABLE_GUILE_VM nobase_dist_module_DATA = $(SOURCES) $(SOURCES_NOT_COMPILED) -- cgit v1.2.3