aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-12-17 10:21:45 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-12-17 10:21:45 +0100
commit0f49ee5f746592352b6ac26449e87339cc3702a8 (patch)
tree74d7da7987814a8975ef19866f1d62b107344465 /src/Makefile.am
parentc04640262ac7f4afa19f750744a5e3aff0071d5f (diff)
Fix build error for missing commit.h
Add the target commit.h as a dependency of version.o, so it gets generated before being included in version.cc, otherwise when doing a parallel build it can fail.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9943b088..b2c7e28a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -140,7 +140,7 @@ dillo_SOURCES = \
# https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
nodist_dillo_SOURCES = commit.h
-dillo.$(OBJEXT): commit.h
+version.$(OBJEXT) dillo.$(OBJEXT): commit.h
CLEANFILES = commit.h
if GIT_AVAILABLE