build: Don't dist generated example files with Autotools

The generated resources.c file should not be part of the dist tarball.
This commit is contained in:
Emmanuele Bassi
2022-12-06 21:29:38 +00:00
parent b310ee1eac
commit 04bed1d3ab
9 changed files with 27 additions and 27 deletions

View File

@ -16,8 +16,8 @@ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \ exampleappprefs.c exampleappprefs.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -41,7 +41,7 @@ EXTRA_DIST = \
prefs.ui \ prefs.ui \
gears-menu.ui \ gears-menu.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \

View File

@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
exampleapp_SOURCES = \ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = resources.c BUILT_SOURCES = resources.c
@ -26,7 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
EXTRA_DIST = \ EXTRA_DIST = \
window.ui \ window.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
meson.build meson.build
-include $(top_srcdir)/git.mk -include $(top_srcdir)/git.mk

View File

@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
exampleapp_SOURCES = \ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = resources.c BUILT_SOURCES = resources.c
@ -26,7 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
EXTRA_DIST = \ EXTRA_DIST = \
window.ui \ window.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
meson.build meson.build
-include $(top_srcdir)/git.mk -include $(top_srcdir)/git.mk

View File

@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
exampleapp_SOURCES = \ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = resources.c BUILT_SOURCES = resources.c
@ -27,7 +27,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
EXTRA_DIST = \ EXTRA_DIST = \
window.ui \ window.ui \
app-menu.ui \ app-menu.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
meson.build meson.build
-include $(top_srcdir)/git.mk -include $(top_srcdir)/git.mk

View File

@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
exampleapp_SOURCES = \ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -38,7 +38,7 @@ EXTRA_DIST = \
window.ui \ window.ui \
app-menu.ui \ app-menu.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \

View File

@ -16,8 +16,8 @@ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \ exampleappprefs.c exampleappprefs.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -40,7 +40,7 @@ EXTRA_DIST = \
app-menu.ui \ app-menu.ui \
prefs.ui \ prefs.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \

View File

@ -16,8 +16,8 @@ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \ exampleappprefs.c exampleappprefs.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -40,7 +40,7 @@ EXTRA_DIST = \
app-menu.ui \ app-menu.ui \
prefs.ui \ prefs.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \

View File

@ -16,8 +16,8 @@ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \ exampleappprefs.c exampleappprefs.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -41,7 +41,7 @@ EXTRA_DIST = \
prefs.ui \ prefs.ui \
gears-menu.ui \ gears-menu.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \

View File

@ -16,8 +16,8 @@ exampleapp_SOURCES = \
main.c \ main.c \
exampleapp.c exampleapp.h \ exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \ exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \ exampleappprefs.c exampleappprefs.h
resources.c nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \ BUILT_SOURCES = \
resources.c \ resources.c \
@ -41,7 +41,7 @@ EXTRA_DIST = \
prefs.ui \ prefs.ui \
gears-menu.ui \ gears-menu.ui \
exampleapp.gresource.xml \ exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \ org.gtk.exampleapp.gschema.xml \
meson.build meson.build
CLEANFILES = \ CLEANFILES = \