summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guile-vm.am8
1 files changed, 8 insertions, 0 deletions
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
+# <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
+# 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)