Use libapp_generated_sources in Makefile.am

This commit is contained in:
Mukund Sivaraman 2010-09-29 00:39:23 +05:30
parent 6b1aabfa71
commit 5dfb2782dd
1 changed files with 4 additions and 4 deletions

View File

@ -8,10 +8,6 @@ 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
# the right order
@ -78,6 +74,10 @@ libapp_sources = \
libapp_generated_sources = \
git-version.h
# Build git-version.h before anything in the subdirs as this is needed
# in the about dialog.
BUILT_SOURCES = $(libapp_generated_sources)
CLEANFILES = $(libapp_generated_sources)
$(srcdir)/version.c: git-version.h