[gtkmm] demos: Don't distribute demo_resources.c
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] demos: Don't distribute demo_resources.c
- Date: Mon, 18 May 2015 07:02:24 +0000 (UTC)
commit eb35b083a688074feff6e15a28091fc00dd0a0a9
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Mon May 18 08:57:20 2015 +0200
demos: Don't distribute demo_resources.c
* demos/Makefile.am: Don't distribute the built file demo_resources.c.
It's big, and it's easily rebuilt when glib is available.
demos/Makefile.am | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/demos/Makefile.am b/demos/Makefile.am
index ea85323..dc9314f 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -19,12 +19,13 @@ AUTOMAKE_OPTIONS = subdir-objects
check_PROGRAMS = pixbuf-demo gtk-demo/gtkmm-demo
-pixbuf_demo_SOURCES = \
- gtk-demo/demo_resources.c \
- pixbuf-demo.cc
+## Don't distribute demo_resources.c. It's big, and it's built with
+## glib-compile-resources, which is part of glib.
+nodist_pixbuf_demo_SOURCES = gtk-demo/demo_resources.c
+dist_pixbuf_demo_SOURCES = pixbuf-demo.cc
-gtk_demo_gtkmm_demo_SOURCES = \
- gtk-demo/demo_resources.c \
+nodist_gtk_demo_gtkmm_demo_SOURCES = gtk-demo/demo_resources.c
+dist_gtk_demo_gtkmm_demo_SOURCES = \
gtk-demo/demos.h \
gtk-demo/demowindow.cc \
gtk-demo/demowindow.h \
@@ -80,8 +81,7 @@ GTK_DEMO_RESOURCES = \
gtk-demo/gnu-keys.png \
gtk-demo/gtk-logo-rgb.gif
-# Delete built sources on make maintainer-clean.
-MAINTAINERCLEANFILES = gtk-demo/demo_resources.c
+DISTCLEANFILES = gtk-demo/demo_resources.c
gtk-demo/demo_resources.c: gtk-demo/demo.gresource.xml $(GTK_DEMO_RESOURCES) $(GTK_DEMOS)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(dir $<) --generate-source $<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]