From c59d5b039a8a8e975a8cdaef8f20df8c42d0a179 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 13:45:08 -0400 Subject: Makefile.am: Fix version.c dependencies Fixes the following: $ rm -f version.c $ make --no-print-directory make all-recursive Making all in . make[2]: Circular version.c <- version.c dependency dropped. GEN version.c GEN marquee Making all in data make[2]: Nothing to be done for 'all'. $ rm -f version.c $ bmake bmake all-recursive Making all in . bmake[2]: Graph cycles through version.c `all-am' not remade because of errors. Making all in data --- diff --git a/Makefile.am b/Makefile.am index f23cd21..8f44832 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,8 +53,7 @@ marquee_LINK = $(LINK) version.c EXTRA_marquee_DEPENDENCIES = version.c CLEANFILES = version.c -version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \ - $(EXTRA_marquee_DEPENDENCIES) +version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES) $(AM_V_GEN)printf 'const char *PACKAGE_VERSION_GIT = "%s";\n' \ "$(PACKAGE_VERSION_GIT)" >version.c -- cgit v0.9.1