[gexiv2] build: Correctly list out generated sources and their dependencies
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] build: Correctly list out generated sources and their dependencies
- Date: Fri, 8 Sep 2017 18:10:32 +0000 (UTC)
commit 4192e4971cf5cc6392ec3521d530e00e088fea8b
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 8 19:30:44 2017 +0200
build: Correctly list out generated sources and their dependencies
Sources that are generated during the build should be listed under
BUILT_SOURCES [1]. Their dependencies should be in EXTRA_DIST so that
they can be generated when building from a tarball, and they should
get cleaned by "make clean" like every other artifact produced by
"make".
[1] https://www.gnu.org/software/automake/manual/html_node/Sources.html
https://bugzilla.gnome.org/show_bug.cgi?id=787455
Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2c87482..9e8610b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,12 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-python3-girdir='$${libdir}/python3/dist-packages/gi/overrides' \
--enable-introspection
+BUILT_SOURCES = \
+ gexiv2-enums.cpp \
+ gexiv2-enums.h
+
+CLEANFILES += $(BUILT_SOURCES)
+
# Extra package files. #
EXTRA_DIST = \
@PACKAGE_NAME pc in \
@@ -37,6 +43,8 @@ EXTRA_DIST = \
docs/reference/xml/gtkdocentities.ent.in \
meson.build \
gexiv2/meson.build \
+ gexiv2/gexiv2-enums.cpp.template \
+ gexiv2/gexiv2-enums.h.template \
gexiv2/gexiv2-version.h.meson \
gexiv2/gexiv2.map \
vapi/meson.build \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]