From 9b3e01be301fbad2d1b9611c4eaa83f675f0c04b Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Mon, 16 Oct 2017 16:24:16 +0000 Subject: [PATCH] build: Fix bsdiff Makefile circular dependency The intended use was to have the .am.inc generated from the .am like the libglnx one. Without this, make was detecting a circular dependency and dropping the rule: make: Circular bsdiff/Makefile-bsdiff.am.inc <- bsdiff/Makefile-bsdiff.am.inc dependency dropped. Closes: #1276 Approved by: jlebon --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 48d0830f..7f913ab5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -106,7 +106,7 @@ libbsdiff_srcpath := $(srcdir)/bsdiff libbsdiff_cflags := $(OT_DEP_GIO_UNIX_CFLAGS) "-I$(bsdiff_srcpath)" libbsdiff_libs := $(OT_DEP_GIO_UNIX_LIBS) # See the comment for the similar libglnx bit above -$(srcdir)/bsdiff/Makefile-bsdiff.am.inc: $(srcdir)/bsdiff/Makefile-bsdiff.am.inc +$(srcdir)/bsdiff/Makefile-bsdiff.am.inc: $(srcdir)/bsdiff/Makefile-bsdiff.am sed -e 's,$(libbsdiff_srcpath),bsdiff,g' < $< > $@ include bsdiff/Makefile-bsdiff.am.inc EXTRA_DIST += bsdiff/Makefile-bsdiff.am