diff options
author | Arun Isaac | 2021-09-08 00:33:53 +0530 |
---|---|---|
committer | Arun Isaac | 2021-09-08 00:33:53 +0530 |
commit | 257e13bb74c0138415652f02a057469fca6ef011 (patch) | |
tree | 6aae6b9a695a62a9801fd9a08fddf77fcc1b8148 | |
parent | 2b8b9ab901633c780daf109b7ae26af849e81017 (diff) | |
download | guile-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.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. |