Makefile.am: add git-version.h to EXTRA_DIST

We only generate it when building from git.
This commit is contained in:
Ell 2018-03-10 17:54:54 -05:00
parent 87ca71e7c2
commit 646a56fe8a

View file

@ -83,6 +83,7 @@ EXTRA_DIST = \
authors.xsl \
config.h.win32 \
gimp-zip.in \
git-version.h \
gtk-doc.make
@ -125,14 +126,14 @@ $(srcdir)/ChangeLog:
fi
.PHONY: $(srcdir)/ChangeLog
libapp_generated_sources = \
generated_sources = \
git-version.h
# Build git-version.h before anything in the subdirs as this is needed
# in the about and debug dialog (app/) and in the debug tool (tools/).
BUILT_SOURCES = $(libapp_generated_sources)
BUILT_SOURCES = $(generated_sources)
CLEANFILES = $(libapp_generated_sources)
CLEANFILES = $(generated_sources)
# If git is available, always check if git-version.h should be
# updated. If git is not available, don't do anything if git-version.h