diff options
| author | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-05-09 16:46:04 +0300 |
|---|---|---|
| committer | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-05-09 16:46:04 +0300 |
| commit | 8cd25c871609580425c6c4c9e5bc6ec8d40862a1 (patch) | |
| tree | 67813681ddd648637af5e2e52011000d68aff8f1 | |
| parent | 23556bdbcf9cf06db866901fb822dd78a9043648 (diff) | |
| download | pygobject-8cd25c871609580425c6c4c9e5bc6ec8d40862a1.tar.gz pygobject-8cd25c871609580425c6c4c9e5bc6ec8d40862a1.tar.xz pygobject-8cd25c871609580425c6c4c9e5bc6ec8d40862a1.zip | |
Retire hand-written ChangeLog; autocreate from Git history
Basically copied over from GLib source tree.
| -rw-r--r-- | ChangeLog.pre-2.18 (renamed from ChangeLog) | 2 | ||||
| -rw-r--r-- | Makefile.am | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog.pre-2.18 index 4da5c6f..2fb8ef4 100644 --- a/ChangeLog +++ b/ChangeLog.pre-2.18 @@ -1,3 +1,5 @@ +=== ChangeLog discontinued === + 2009-05-04 Siavash Safi <siavash@siavashs.org> Bug 579275 – Patch which removes dll api in headers and adds diff --git a/Makefile.am b/Makefile.am index 5ed6fa7..93442af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,10 +15,14 @@ EXTRA_DIST = \ pygobject_postinstall.py \ pygtk.py \ dsextras.py \ + ChangeLog.pre-2.18 \ m4/as-ac-expand.m4 \ m4/jhflags.m4 \ m4/python.m4 +BUILT_EXTRA_DIST = \ + ChangeLog + INCLUDES = -I$(top_srcdir)/gobject $(PYTHON_INCLUDES) $(GLIB_CFLAGS) # pkg-config files @@ -86,3 +90,31 @@ release-tag: $$ROOT \ svn+ssh://johan@svn.gnome.org/svn/pygobject/tags/PYGOBJECT_$$SVNVERSION + +.PHONY: ChangeLog + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log PYGOBJECT_2_17_0^^.. --stat) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi + + +distclean-local: + if test $(srcdir) = .; then :; else \ + rm -f $(BUILT_EXTRA_DIST); \ + fi + +dist-hook: $(BUILT_EXTRA_DIST) + files='$(BUILT_EXTRA_DIST)'; \ + for f in $$files; do \ + if test -f $$f; then d=.; else d=$(srcdir); fi; \ + rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done |
