[cogl: 5/7] dist: Don't use elaborate script to gen Changelogs



commit fcb8de2cde0707f0e068bcf37241e31bea7a31dd
Author: Robert Bragg <robert linux intel com>
Date:   Wed Jul 20 11:32:38 2011 +0100

    dist: Don't use elaborate script to gen Changelogs
    
    The changelog generation scripts used for releases are overly elaborate
    and fragile. A Changelog is also no substitute for the Git log so now we
    simply ship a static Changelog that points to the Git log instead.

 .gitignore                            |    1 -
 ChangeLog                             |   20 ++++++++
 Makefile.am                           |    2 -
 build/autotools/Makefile.am.changelog |   78 ---------------------------------
 build/autotools/Makefile.am.release   |   13 +-----
 5 files changed, 22 insertions(+), 92 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 68eec66..cb975f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,6 @@ compile
 README
 stamp-enum-types
 stamp-marshal
-/ChangeLog*
 /build/autotools/*.m4
 !/build/autotools/introspection.m4
 !/build/autotools/as-linguas.m4
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..146a958
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,20 @@
+Cogl does not distribute a static Changelog with releases because we feel that
+the Git log does a better job of tracking all the detailed source code changes
+that are made to Cogl.
+
+If you just want a high level overview of what has changed between Cogl
+releases then please see the NEWS file that we distribute.
+
+You can clone Cogl via Git using:
+
+$ git clone git://git.gnome.org/cogl.git
+
+You can see the log using:
+
+$ git log
+
+Or you can look at the log for a particular release by specifying
+a release tag name like:
+
+$ git log 1.7.2
+
diff --git a/Makefile.am b/Makefile.am
index 1ef067b..4df69eb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,4 @@ DISTCLEANFILES=
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags --enable-profile
 
-# .release requires .changelog rules
-include $(top_srcdir)/build/autotools/Makefile.am.changelog
 include $(top_srcdir)/build/autotools/Makefile.am.release
diff --git a/build/autotools/Makefile.am.release b/build/autotools/Makefile.am.release
index cbee6f0..c29533b 100644
--- a/build/autotools/Makefile.am.release
+++ b/build/autotools/Makefile.am.release
@@ -37,7 +37,7 @@ release-tag:
 	  fi \
 	fi
 
-release-check: release-verify-even-micro release-verify-sane-changelogs release-verify-news
+release-check: release-verify-even-micro release-verify-news
 	TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distcheck
 
 release-verify-news:
@@ -49,14 +49,6 @@ release-verify-news:
 	   false); else :; fi
 	@echo "Good."
 
-release-verify-sane-changelogs: changelogs
-	@echo -n "Checking that the ChangeLog files are sane..."
-	@if grep -q "is required to generate" $(CHANGELOGS); then \
-	  (echo "Ouch." && \
-	   echo "Some of the ChangeLogs are not generated correctly." && \
-	   echo "Remove ChangeLog* and make changelogs" && false); else :; fi
-	@echo "Good."
-
 release-verify-even-micro:
 	@echo -n "Checking that $(VERSION) has an even micro component..."
 	@test "$(COGL_1_MICRO_VERSION)" = "`echo $(COGL_1_MICRO_VERSION)/2*2 | bc`" || \
@@ -165,5 +157,4 @@ release-publish: release-check
 	release-publish \
 	release-tag \
 	release-upload \
-	release-verify-even-micro \
-	release-verify-sane-changelogs
+	release-verify-even-micro



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]