diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:45:08 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:49:53 (EDT) |
commit | c59d5b039a8a8e975a8cdaef8f20df8c42d0a179 (patch) | |
tree | 47dc647b0cc589fc03e53e2c9d8d57a0cf5c8a45 | |
parent | 63172bb02b57c9b8799bd16e11ca831cc8930b61 (diff) | |
download | marquee-c59d5b039a8a8e975a8cdaef8f20df8c42d0a179.zip marquee-c59d5b039a8a8e975a8cdaef8f20df8c42d0a179.tar.gz marquee-c59d5b039a8a8e975a8cdaef8f20df8c42d0a179.tar.bz2 |
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
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
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 |