mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
Keep .ui.h files out of BUILT_SOURCES AND MAINTAINERCLEANFILES
Otherwise, git.mk will add them to .gitignore, and we want to add them to source control for the benefit of tools like damn-lies which rely on being able to generate a .pot file from a pristine checkout.,
This commit is contained in:
parent
fef85f72ee
commit
29826d5489
@ -6,14 +6,13 @@ resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --gener
|
|||||||
resources.h: inspector.gresource.xml
|
resources.h: inspector.gresource.xml
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-header --manual-register
|
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-header --manual-register
|
||||||
resources.c: inspector.gresource.xml $(resource_files)
|
resources.c: inspector.gresource.xml $(resource_files) $(template_headers)
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-source --manual-register
|
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-source --manual-register
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
resources.h \
|
resources.h \
|
||||||
resources.c \
|
resources.c
|
||||||
$(template_headers)
|
|
||||||
|
|
||||||
libgtkinspector_la_SOURCES = \
|
libgtkinspector_la_SOURCES = \
|
||||||
action-editor.h \
|
action-editor.h \
|
||||||
@ -124,12 +123,12 @@ EXTRA_DIST += \
|
|||||||
|
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
resources.c \
|
resources.c \
|
||||||
resources.h \
|
resources.h
|
||||||
$(template_headers)
|
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
if test $(srcdir) != .; then \
|
if test $(srcdir) != .; then \
|
||||||
rm -f $(MAINTAINERCLEANFILES); \
|
rm -f $(MAINTAINERCLEANFILES); \
|
||||||
|
rm -f $(template_headers); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dist-hook: $(top_builddir)/build/win32/vs9/gtk-inspector.vcproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters
|
dist-hook: $(top_builddir)/build/win32/vs9/gtk-inspector.vcproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters
|
||||||
|
Loading…
Reference in New Issue
Block a user