summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-12-11 10:08:06 -0800
committerJim Meyering <meyering@fb.com>2016-12-11 10:08:06 -0800
commit5a5617824490bc9ff501f13e2aadd643897423a1 (patch)
tree479471bb10091a98c36aba14070b29ceeb3a22dd
parentadcc31c126b22427c1ac00e8313ecf6ede8e1952 (diff)
downloadsed-5a5617824490bc9ff501f13e2aadd643897423a1.tar.gz
build: avoid "make dist" failure due to missing dependencies
* sed/local.mk ($(sed_sed_OBJECTS)): Depend on $(BUILT_SOURCES). Reported by Assaf Gordon in https://lists.gnu.org/archive/html/sed-devel/2016-12/msg00016.html
-rw-r--r--sed/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sed/local.mk b/sed/local.mk
index a3ff26f..dd1da0a 100644
--- a/sed/local.mk
+++ b/sed/local.mk
@@ -29,11 +29,13 @@ noinst_HEADERS += \
sed/sed.h \
sed/utils.h
-sed_sed_CPPFLAGS = $(AM_CPPFLAGS) -DLOCALEDIR=\"$(localedir)\"
+sed_sed_CPPFLAGS = $(AM_CPPFLAGS) -DLOCALEDIR=\"$(localedir)\"
sed_sed_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS) $(WERROR_CFLAGS)
sed_sed_LDADD = sed/libver.a lib/libsed.a $(INTLLIBS) $(LIB_ACL) $(LIB_SELINUX)
sed_sed_DEPENDENCIES = lib/libsed.a sed/libver.a
+$(sed_sed_OBJECTS): $(BUILT_SOURCES)
+
BUILT_SOURCES += sed/version.c
DISTCLEANFILES += sed/version.c
sed/version.c: Makefile