[gitg/wip/release: 7/21] Remove BUILT_SOURCES and CLEANFILES



commit f95f160ee6e934a386c27f10a84d9944d110dc01
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jan 3 19:36:14 2014 +0100

    Remove BUILT_SOURCES and CLEANFILES

 gitg/Makefile.am          |   13 -------------
 libgitg-ext/Makefile.am   |   11 -----------
 libgitg/Makefile.am       |   12 ------------
 plugins/diff/Makefile.am  |   11 -----------
 plugins/files/Makefile.am |   11 -----------
 tests/Makefile.am         |   11 -----------
 6 files changed, 0 insertions(+), 69 deletions(-)
---
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index d602f8f..6fe4832 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -68,15 +68,6 @@ gitg_VALASOURCES =                                           \
        commit/gitg-commit-paned.vala                           \
        commit/gitg-commit-dialog.vala
 
-# Explicitely list vapi files of our libs, so that dependencies
-# are properly respected on boostrap
-BUILT_SOURCES =                                                \
-       $(top_builddir)/libgitg/libgitg-1.0.vapi                \
-       $(top_builddir)/libgitg-ext/libgitg-ext-1.0.vapi        \
-       gitg-resources.c                                        \
-       gitg-resources.h                                        \
-       gitg_vala.stamp
-
 gitg_SOURCES =                                                 \
        $(VALASOURCES)                                          \
        gitg-resources.c
@@ -95,10 +86,6 @@ EXTRA_DIST =                                 \
        resources/gitg-resources.xml            \
        $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources 
resources/gitg-resources.xml)
 
-CLEANFILES =                           \
-       $(VALASOURCES:.vala=.c)         \
-       $(BUILT_SOURCES)
-
 -include $(top_srcdir)/git.mk
 
 # vi:ts=8:noet
diff --git a/libgitg-ext/Makefile.am b/libgitg-ext/Makefile.am
index d44bdbb..8daa335 100644
--- a/libgitg-ext/Makefile.am
+++ b/libgitg-ext/Makefile.am
@@ -106,11 +106,6 @@ gitg-ext-resources.h: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
                --sourcedir $(srcdir)/resources         \
                --target "$@" "$<"
 
-BUILT_SOURCES =                                \
-       $(gir_DATA)                     \
-       libgitg-ext.h                   \
-       gitg-ext-resources.c            \
-       gitg-ext-resources.h
 
 EXTRA_DIST =                           \
        $(pkgconfig_DATA)               \
@@ -118,14 +113,8 @@ EXTRA_DIST =                               \
        $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources 
resources/resources.xml)
 
 CLEANFILES =                                   \
-       $(VALA_FILES:.vala=.c)                  \
-       GitgExt-1.0.gir                         \
        GitgExt-1.0.typelib                     \
-       libgitg-ext-1.0.vapi                    \
-       libgitg_ext_1_0_la_vala.stamp
 
-dist-hook:
-       cd $(distdir); rm -f $(BUILT_SOURCES)
 
 -include $(top_srcdir)/git.mk
 -include $(top_srcdir)/valadoc.mk
diff --git a/libgitg/Makefile.am b/libgitg/Makefile.am
index fddf0fe..d0a7812 100644
--- a/libgitg/Makefile.am
+++ b/libgitg/Makefile.am
@@ -98,24 +98,12 @@ pkgconfig_DATA = libgitg-1.0.pc
 gitg-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies 
--sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target="$@" --sourcedir=$(srcdir)/resources --generate-source 
$(srcdir)/resources/resources.xml
 
-BUILT_SOURCES =                                \
-       $(gir_DATA)                     \
-       $(vapi_DATA)                    \
-       $(typelib_DATA)                 \
-       libgitg_1_0_la_vala.stamp       \
-       gitg-resources.c                \
-       libgitg.h
 
 EXTRA_DIST = \
        $(pkgconfig_DATA)               \
        resources/resources.xml         \
        $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources 
$(srcdir)/resources/resources.xml)
 
-CLEANFILES = $(VALA_FILES:.vala=.c)
-
-dist-hook:
-       cd $(distdir); rm -f $(BUILT_SOURCES)
-
 -include $(top_srcdir)/git.mk
 
 # vi:ts=8:noet
diff --git a/plugins/diff/Makefile.am b/plugins/diff/Makefile.am
index 887f9bd..1f974a8 100644
--- a/plugins/diff/Makefile.am
+++ b/plugins/diff/Makefile.am
@@ -26,9 +26,6 @@ libdiff_la_SOURCES =                          \
        $(VALA_SOURCES)                         \
        gitg-diff-resources.c
 
-BUILT_SOURCES =                                                \
-       gitg-diff-resources.c                                   \
-       gitg-diff-resources.h
 
 gitg-diff-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies 
--sourcedir $(srcdir)/resources resources/resources.xml)
        $(GLIB_COMPILE_RESOURCES) --generate-source     \
@@ -44,14 +41,6 @@ EXTRA_DIST = $(plugin_DATA)                  \
        resources/resources.xml                 \
        $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources 
resources/resources.xml)
 
-CLEANFILES =                                   \
-       $(VALA_SOURCES:.vala=.c)                \
-       $(BUILT_SOURCES)                        \
-       libdiff_la_vala.stamp
-
-install-data-hook:
-       rm -f $(GITG_PLUGIN_LIBDIR)/libdiff.la
-
 -include $(top_srcdir)/git.mk
 
 # vi:ts=8:noet
diff --git a/plugins/files/Makefile.am b/plugins/files/Makefile.am
index 32be1d1..ea181da 100644
--- a/plugins/files/Makefile.am
+++ b/plugins/files/Makefile.am
@@ -25,9 +25,6 @@ libfiles_la_SOURCES =                                 \
        $(VALA_SOURCES)                         \
        gitg-files-resources.c
 
-BUILT_SOURCES =                                                \
-       gitg-files-resources.c                                  \
-       gitg-files-resources.h
 
 gitg-files-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies 
--sourcedir $(srcdir)/resources resources/resources.xml)
        $(GLIB_COMPILE_RESOURCES) --generate-source     \
@@ -43,14 +40,6 @@ EXTRA_DIST = $(plugin_DATA)                  \
        resources/resources.xml                 \
        $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources 
resources/resources.xml)
 
-CLEANFILES =                                   \
-       $(VALA_SOURCES:.vala=.c)                \
-       $(BUILT_SOURCES)                        \
-       libfiles_la_vala.stamp
-
-install-data-hook:
-       rm -f $(GITG_PLUGIN_LIBDIR)/libfiles.la
-
 -include $(top_srcdir)/git.mk
 
 # vi:ts=8:noet
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6e7ad12..0d7e2d3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,17 +32,6 @@ progress_bin_SOURCES = progress-bin.vala
 progress_bin_LDADD = $(GITG_PLUGIN_LIBS)
 
 TESTS = $(TEST_PROGS)
-
-BUILT_SOURCES =                                \
-       diff_view_vala.stamp                    \
-       repository_list_box_vala.stamp                  \
-       progress_bin_vala.stamp
-
-CLEANFILES =                                   \
-       $(diff_view_SOURCES:.vala=.c)           \
-       $(repository_list_box_SOURCES:.vala=.c)         \
-       $(progress_bin_SOURCES:.vala=.c)        \
-       $(BUILT_SOURCES)
 progress_bin_CFLAGS = $(tests_common_cflags)
 progress_bin_CPPFLAGS = $(tests_common_cppflags)
 


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