[mousetrap/ng] Changelog generated by the make file
- From: Flavio Percoco <flaper src gnome org>
- To: svn-commits-list gnome org
- Subject: [mousetrap/ng] Changelog generated by the make file
- Date: Sun, 10 May 2009 17:05:45 -0400 (EDT)
commit 16897e6cf67234b9fab21b51d7b46e7413f22991
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date: Sun May 10 07:20:06 2009 +0200
Changelog generated by the make file
---
Makefile.am | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index a33760f..35ceaa1 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,20 @@ update-icon-cache:
echo "*** $(gtk_update_icon_cache)"; \
fi
+dist-hook:
+ @if test -d "$(srcdir)/.git"; \
+ then \
+ echo Creating ChangeLog && \
+ ( cd "$(top_srcdir)" && \
+ echo '# Generated by Makefile. Do not edit.'; echo; \
+ $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
+ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+ || ( rm -f ChangeLog.tmp ; \
+ echo Failed to generate ChangeLog >&2 ); \
+ else \
+ echo A git clone is required to generate a ChangeLog >&2; \
+ fi
+
desktopdir = $(datadir)/applications
desktop_in_files = mousetrap.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]