diff options
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 3302776..06b411a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,9 +66,8 @@ nobase_go_DATA = $(GOBJECTS) CLEANFILES = $(GOBJECTS) GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat -SUFFIXES = .scm .go -.scm.go: - $(GUILD_GEN)$(top_builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<" +%.go: %.scm + $(GUILD_GEN)$(builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<" # Building xapian/xapian.scm additionally requires the libguilexapian # shared library. |