diff --git a/.gitignore b/.gitignore index 5ccb71df97..dcf009f24b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +*.la +*.lo +*.o +/ChangeLog /Makefile /Makefile.in /aclocal.m4 @@ -15,9 +19,9 @@ /configure /depcomp /gimp-2.0.pc +/gimp-zip /gimpthumb-2.0.pc /gimpui-2.0.pc -/gimp-zip /gtk-doc.make /install-sh /intltool-extract @@ -35,6 +39,3 @@ /stamp-h /stamp-h.in /stamp-h1 -*.la -*.lo -*.o diff --git a/ChangeLog b/ChangeLog.pre-git similarity index 99% rename from ChangeLog rename to ChangeLog.pre-git index 0fa59c3274..ba8b16818f 100644 --- a/ChangeLog +++ b/ChangeLog.pre-git @@ -1,36 +1,4 @@ - - - - NOTE: After the migration to git this ChangeLog is no longer used - during development. Instead, it will be updated prior to every - release based on the git log. - - - - - -2009-04-25 Martin Nordholts - - * app/dialogs/file-save-dialog.c: Introduce - file_save_dialog_unkown_ext_msg() so that we don't need to have a - copy-pasted huge error message (and prepare for more intricate - message handling). - -2009-04-24 Martin Nordholts - - Convert Subversion references to git - - * HACKING - * INSTALL - * README.i18n - * autogen.sh - -2009-04-24 Martin Nordholts - - * README: Update link to GTK+ themes in README. Patch from - Shlomi Fish. - 2009-04-16 Michael Natterer * app/paint/gimppaintcore.[ch]: made GimpCoords* parameter of diff --git a/Makefile.am b/Makefile.am index e14583e1eb..9530a24204 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,3 +95,24 @@ endif all-local: AUTHORS dist-hook: check-defs validate-authors + + + +CHANGELOG_START = 74424325abb54620b370f2595445b2b2a19fe5e7 + +ChangeLog: $(srcdir)/ChangeLog $(srcdir)/ChangeLog.pre-git +$(srcdir)/ChangeLog: + @echo Creating $@ based on git log + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run \ + git log $(CHANGELOG_START)^.. --stat) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ && echo Appending ChangeLog.pre-git && cat ChangeLog.pre-git >> $@ \ + || ($(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 +.PHONY: $(srcdir)/ChangeLog