summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-05 09:10:36 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-03-05 09:10:36 -0600
commit28836a53fd617b6eeabda4a57fc4d15801d69a49 (patch)
tree4c9998cbb51dc7eff0ed207b7d2068dbe5b2ce85 /Makefile.am
parent9f3e2ea40123ca048d99f2a0d3911af642c87cfa (diff)
Generate ChangeLog on demand.
Specifically, any make target that requires it (make dist, etc) will generate pull an appropriately-formatted changelog out of git.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6f5145a..3919fd9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,5 +3,8 @@ SUBDIRS = pm man src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pm-utils.pc
+ChangeLog:
+ @-git log --no-merges --topo-order > $@
+
clean-local :
rm -f *~