[gtk+] inspector: git ignore template headers



commit d252282e75eb3160e84619600b7624d8e0942f49
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 15 11:04:48 2014 -0400

    inspector: git ignore template headers

 gtk/inspector/Makefile.am |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/inspector/Makefile.am b/gtk/inspector/Makefile.am
index 32d29a1..2e50840 100644
--- a/gtk/inspector/Makefile.am
+++ b/gtk/inspector/Makefile.am
@@ -91,16 +91,13 @@ templates =                                 \
 
 template_headers = $(templates:.ui=.ui.h)
 
+BUILT_SOURCES += $(template_headers)
+
 extract_strings = $(top_builddir)/gtk/extract-strings$(BUILD_EXEEXT)
 
 %.ui.h: %.ui $(extract_strings)
        $(AM_V_GEN) $(extract_strings) $< > $@
 
-distclean-local:
-       if test $(srcdir) != .; then    \
-         rm -f $(template_headers);    \
-       fi
-
 EXTRA_DIST +=                          \
        inspector.gresource.xml         \
        $(resource_files)               \


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