[next] telepathy-glib: Add `make clean-for-new-branch`

Simon McVittie smcv at kemper.freedesktop.org
Wed May 2 04:26:09 PDT 2012


Module: telepathy-glib
Branch: next
Commit: 759d4b5ff49e1f067ef6cf3cc71e2584d1067ed6
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=759d4b5ff49e1f067ef6cf3cc71e2584d1067ed6

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue May  1 13:14:04 2012 +0100

Add `make clean-for-new-branch`

---

 Makefile.am |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 30bfbb1..be257aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,3 +52,16 @@ CHANGELOG_RANGE = telepathy-glib-0.14.0..
 CHECK_FOR_UNRELEASED = $(srcdir)/NEWS $(wildcard $(srcdir)/telepathy-glib/*.[ch])
 
 include tools/telepathy.am
+
+# Don't just "make distclean", because that would result in forgetting
+# the options we used when we ran configure.
+#
+# However, we do want to distclean in docs (to get rid of xml, html etc.)
+# and in telepathy-glib (to get rid of any stray files in _gen which might
+# not exist on the new branch).
+clean-for-new-branch:
+	$(MAKE) clean
+	$(MAKE) -C docs distclean
+	$(MAKE) -C telepathy-glib distclean
+	$(SHELL) ./config.status --recheck
+	$(SHELL) ./config.status



More information about the telepathy-commits mailing list