diff --git a/gtk/inspector/Makefile.am b/gtk/inspector/Makefile.am index 32d29a152d..2e50840f02 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) \