[gimp] add git-version.h to BUILT_SOURCES



commit 6b1aabfa71df1257c0269d528221d04ff188a02e
Author: Nils Philippsen <nils redhat com>
Date:   Tue Sep 28 18:17:45 2010 +0200

    add git-version.h to BUILT_SOURCES
    
    This is so that it gets built before automake descends into subdirs.

 app/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index c68de37..ea3f89e 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -8,6 +8,9 @@ libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).
 libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
 libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
 
+# Build git-version.h before anything in the subdirs as this is needed in the
+# about dialog.
+BUILT_SOURCES = git-version.h
 
 # Sort this by architectural dependencies, lowest level at the top,
 # so that when e.g. changing a header-file the subdirs are built in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]