demos: Fix distcheck
Make sure that we remove the files generated by glib-compile-resources during distclean.
This commit is contained in:
@@ -129,6 +129,6 @@ dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gtk3-demo.vcproj \
|
||||
$(top_builddir)/win32/vs9/gtk3-demo-application.vcproj
|
||||
|
||||
DISTCLEANFILES = demos.h demos.h.win32
|
||||
DISTCLEANFILES = demos.h demos.h.win32 demo_resources.c
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
||||
@@ -27,6 +27,8 @@ gtk3_icon_browser_SOURCES = \
|
||||
BUILT_SOURCES = \
|
||||
resources.c
|
||||
|
||||
DISTCLEANFILES = resources.c
|
||||
|
||||
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
@@ -69,4 +69,6 @@ EXTRA_DIST += \
|
||||
data/symbolic-source.svg \
|
||||
meson.build
|
||||
|
||||
DISTCLEANFILES = widget_factory_resources.c
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
||||
Reference in New Issue
Block a user