geany/geany — pull request #10 by codebrainz (2011-10-30 01:29:38+00:00)
Title: Change build system to generate ChangeLog from Git log

From information found here: https://live.gnome.org/Git/ChangeLog

Maybe we want to customize the `git log` format a bit.

I also wrote a Python script that can print a list of unique `AUTHORS` and `COMMITTERS` sorted by number of commits as well as generate the `ChangeLog` but I wasn't sure if it was OK to have Python be required for `make dist` commands.

The `dist-hook` would look something like:

```
dist-hook:
@echo " Generating AUTHORS..." && \
python $(top_srcdir)/scripts/geany-git -a $(top_srcdir) > $(distdir)/AUTHORS
@echo " Generating COMMITTERS..." && \
python $(top_srcdir)/scripts/geany-git -c $(top_srcdir) > $(distdir)/COMMITTERS
@echo " Generating ChangeLog..." && \
python $(top_srcdir)/scripts/geany-git -l $(top_srcdir) > $(distdir)/ChangeLog
```