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 \
exampleapp.c exampleapp.h \
exampleappwin.c exampleappwin.h \
exampleappprefs.c exampleappprefs.h \
resources.c
exampleappprefs.c exampleappprefs.h
nodist_exampleapp_SOURCES = resources.c
BUILT_SOURCES = \
resources.c \
@ -41,7 +41,7 @@ EXTRA_DIST = \
prefs.ui \
gears-menu.ui \
exampleapp.gresource.xml \
org.gtk.exampleapp.gschema.xml \
org.gtk.exampleapp.gschema.xml \
meson.build
CLEANFILES = \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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