[gimp] Makefile.am: add git-version.h to EXTRA_DIST
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Makefile.am: add git-version.h to EXTRA_DIST
- Date: Sat, 10 Mar 2018 22:57:15 +0000 (UTC)
commit 646a56fe8adeed9df768b170f4b3c9ab621130dd
Author: Ell <ell_se yahoo com>
Date: Sat Mar 10 17:54:54 2018 -0500
Makefile.am: add git-version.h to EXTRA_DIST
We only generate it when building from git.
Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6e59ddd..48df404 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]