[Xfce4-commits] [panel-plugins/xfce4-calculator-plugin] 02/08: Bug 12548: Generate ChangeLog from git log.
noreply at xfce.org
noreply at xfce.org
Mon Jun 20 22:27:46 CEST 2016
This is an automated email from the git hooks/post-receive script.
roland pushed a commit to branch master
in repository panel-plugins/xfce4-calculator-plugin.
commit 197a24a2931316b6f1c992f3a855ad4c5cc5fd8d
Author: Roland Kuebert <roland.kuebert at gmail.com>
Date: Mon Jun 20 22:09:49 2016 +0200
Bug 12548: Generate ChangeLog from git log.
Thanks to Wim Hueskes <xfce at wimhueskes.eu>.
---
.gitignore | 1 +
ChangeLog | 12 ------------
Makefile.am | 9 +++++++++
3 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/.gitignore b/.gitignore
index 6a64a5c..3fb3a10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.o
+ChangeLog
INSTALL
Makefile
Makefile.in
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 29d6c96..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,12 +0,0 @@
-2015-08-05: Roland Kuebert <roland at upic.de>
-
- * configure.in.in: Bumped micro version.
-
-2010-03-17: Erik Edelmann <erik.edelmann at iki.fi>
-
- * panel-plugin/calculator.c (calc_construct): Set LC_NUMERIC locale
- to "C".
-
-2010-03-17: Erik Edelmann <erik.edelmann at iki.fi>
-
- * TODO: Updated TODO list.
diff --git a/Makefile.am b/Makefile.am
index 16e295d..7a244fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,15 @@ SUBDIRS = \
distclean-local:
rm -rf *.cache *~
+.PHONY: ChangeLog
+
+ChangeLog: Makefile
+ (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
+ && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
+ || (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog
+
rpm: dist
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
@rm -f $(PACKAGE)-$(VERSION).tar.gz
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list