[mutter] Don't remove meta/meta-version.h during make clean
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Don't remove meta/meta-version.h during make clean
- Date: Mon, 18 Aug 2014 08:28:23 +0000 (UTC)
commit 04ddfe0a6faf510f8439a24909f05922c013701f
Author: Christophe Fergeau <cfergeau redhat com>
Date: Sun Aug 17 20:03:09 2014 +0200
Don't remove meta/meta-version.h during make clean
meta/meta-version.h is generated by configure, so it should be removed
with make distclean, not make clean. This is the heuristic described in
https://www.gnu.org/software/automake/manual/html_node/Clean.html
Cleaning it in make clean means that configure; make clean; make won't
work properly as meta/meta-version.h will be removed and not
regenerated.
https://bugzilla.gnome.org/show_bug.cgi?id=734960
src/Makefile.am | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 8a291e1..a6606ee 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -372,10 +372,12 @@ dbus_idle_built_sources = meta-dbus-idle-monitor.c meta-dbus-idle-monitor.h
CLEANFILES = \
$(mutter_built_sources) \
- $(libmutterinclude_built_headers) \
$(typelib_DATA) \
$(gir_DATA)
+DISTCLEANFILES = \
+ $(libmutterinclude_built_headers)
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmutter.pc
@@ -388,7 +390,10 @@ EXTRA_DIST = \
org.gnome.Mutter.DisplayConfig.xml \
org.gnome.Mutter.IdleMonitor.xml
-BUILT_SOURCES = $(mutter_built_sources)
+BUILT_SOURCES = \
+ $(mutter_built_sources) \
+ $(libmutterinclude_built_headers)
+
MUTTER_STAMP_FILES = stamp-mutter-enum-types.h
CLEANFILES += $(MUTTER_STAMP_FILES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]