aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-09-08 00:33:53 +0530
committerArun Isaac2021-09-08 00:33:53 +0530
commit257e13bb74c0138415652f02a057469fca6ef011 (patch)
tree6aae6b9a695a62a9801fd9a08fddf77fcc1b8148
parent2b8b9ab901633c780daf109b7ae26af849e81017 (diff)
downloadguile-xapian-257e13bb74c0138415652f02a057469fca6ef011.tar.gz
guile-xapian-257e13bb74c0138415652f02a057469fca6ef011.tar.lz
guile-xapian-257e13bb74c0138415652f02a057469fca6ef011.zip
Makefile: Replace suffix rules with pattern rules.
Suffix rules are deprecated. * Makefile.am (SUFFIXES): Delete variable. (.scm.go): Delete rule. (%.go): New rule.
-rw-r--r--Makefile.am5
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.