[Xfce4-commits] <thunar-archive-plugin:master> Add Makefile rules to create the ChangeLog on demand.

Jannis Pohlmann noreply at xfce.org
Sun Jan 23 15:34:01 CET 2011


Updating branch refs/heads/master
         to 924520d880a5cd20ba4f4fbfe2a5d0457866cf50 (commit)
       from 6813c181250667f9fe9126491f546bb598f68a1f (commit)

commit 924520d880a5cd20ba4f4fbfe2a5d0457866cf50
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun Jan 23 15:31:52 2011 +0100

    Add Makefile rules to create the ChangeLog on demand.

 ChangeLog   |  153 -----------------------------------------------------------
 Makefile.am |   28 ++++++++++-
 2 files changed, 27 insertions(+), 154 deletions(-)

diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 3dff12d..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,153 +0,0 @@
-2007-11-26	Benedikt Meurer <benny at xfce.org>
-
-	* INSTALL: Update from automake.
-	* thunar-archive-plugin/tap-provider.c: Add support for 7-Zip
-	  archives. Bug #3692.
-
-2007-01-20	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-
-2007-01-20	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.2.4 ===
-	* NEWS, configure.in.in: Bump version.
-	* THANKS: Add missing translator credits.
-	* po/*.po: Update project version.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-
-2006-11-04	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.2.2 ===
-	* NEWS, configure.in.in: Bump version.
-	* THANKS: Add missing translator credits.
-	* po/*.po: Update project version.
-
-2006-09-14	Benedikt Meurer <benny at xfce.org>
-
-	* README, configure.in.in, thunar-archive-plugin/tap-provider.c:
-	  Bump dependency to Thunar 0.4.0.
-	* thunar-archive-plugin/tap-provider.c: Add support for the new
-	  get_dnd_actions() method in Thunar 0.4.1svn, which installs
-	  an "Extract here" action into the Drag'n'Drop menu of the file
-	  manager when dropping supported archive files to a local folder.
-	* po/*.po, po/thunar-archive-plugin.pot: Merge new strings.
-	* po/de.po: Update german translations.
-
-2006-09-13	Benedikt Meurer <benny at xfce.org>
-
-	* README: Add note about update-desktop-database.
-	* configure.in.in, Makefile.am: Place automake options into
-	  configure.in.in instead of Makefile.am.
-	* icons/16x16/tap-add.png, icons/16x16/tap-create.png,
-	  icons/16x16/Makefile.am, thunar-archive-plugin/tap-provider.c:
-	  Rename tap-add to tap-create.
-	* icons/16x16/, thunar-archive-plugin/tap-provider.c: Use tangoified
-	  icons and add a different icon for the extract-to action.
-
-2006-07-31	Benedikt Meurer <benny at xfce.org>
-
-	* thunar-archive-plugin/tap-provider.c(tap_provider_get_file_actions):
-	  Provide actions only for local files.
-
-2006-07-04	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-
-2006-07-04	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.2.0 ===
-	* NEWS, configure.in.in: Bump version.
-	* THANKS: Add missing translator credits.
-	* scripts/template.tap, scripts/Makefile.am: Add template.tap to act
-	  as a template for new .tap files.
-	* po/*.po: Update project version.
-
-2006-07-02	Benedikt Meurer <benny at xfce.org>
-
-	* scripts/*.tap: Handle filenames with spaces properly.
-
-2006-07-02	Benedikt Meurer <benny at xfce.org>
-
-	* thunar-archive-plugin/tap-provider.c(TAP_MIME_TYPES): That should
-	  have been 24 bytes, forgot the nul-byte.
-
-2006-07-02	Benedikt Meurer <benny at xfce.org>
-
-	* thunar-archive-plugin/tap-provider.c(TAP_MIME_TYPES): Avoid 21
-	  unneccesary relocations.
-	* thunar-archive-plugin/tap-provider.c: GTK+ 2.9.0 and above provides
-	  an icon-name property for GtkActions, so we don't need the icon
-	  factory there.
-
-2006-07-01	Benedikt Meurer <benny at xfce.org>
-
-	* thunar-archive-plugin/: Add support for other archive managers than
-	  file-roller, using the mime database and an additional .tap wrapper
-	  script.
-	* configure.in.in, icons/, thunar-archive-plugin/tap-provider.c,
-	  Makefile.am: Add icons for the extract and create actions, from
-	  the file-roller user interface.
-	* configure.in.in, scripts/, Makefile.am: Add wrapper scripts for
-	  file-roller and ark; xarchiver should ship the wrapper script as
-	  part of its distribution.
-	* README: Add documentation about the new framework.
-	* po/POTFILES.in: Add tap-backend.c here.
-	* po/*.po, po/thunar-archive-plugin.pot: Merge new strings.
-	* po/de.po: Update german translations.
-
-2006-06-19	Benedikt Meurer <benny at xfce.org>
-
-	* COPYING: This should be LGPL, as pointed out by Yves-Alexis
-	  Perez <corsac at corsac.net>.
-
-2006-04-16	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Post-release version bump.
-
-2006-04-16	Benedikt Meurer <benny at xfce.org>
-
-	* === Released 0.1.2 ===
-	* NEWS, configure.in.in: Bump version.
-	* THANKS: Add missing translator credits.
-	* po/*.po: Update project version.
-
-2006-03-30	Benedikt Meurer <benny at xfce.org>
-
-	* THANKS, po/LINGUAS, po/ru.po: Add russian translations, thanks to
-	  Andrey Fedoseev <andrey.fedoseev at gmail.com>.
-	* configure.in.in, thunar-archive-plugin/Makefile.am: Check for
-	  thunar-vfs (which depends on libexo).
-	* thunar-archive-plugin/tap-provider.c: Schedule a "changed" event
-	  after the file-roller command is done, so the folder in which the
-	  archive operation was performed is refreshed immediatly without
-	  having to wait for FAM/Gamin. Bug #1626.
-
-2006-03-27	Benedikt Meurer <benny at xfce.org>
-
-	* po/LINGUAS: Add 'hu' here.
-	* po/de.po, po/hu.po: Update version.
-	* THANKS, Makefile.am: Add THANKS file.
-
-2006-03-26	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Bump version to 0.1.1svn.
-
-2006-03-26	Benedikt Meurer <benny at xfce.org>
-
-	* configure.in.in: Set version to 0.1.0.
-	* NEWS: Update for 0.1.0.
-	* thunar-archive-plugin/tap-provider.c(tap_provider_get_file_actions):
-	  Add mnemonics for the actions.
-	* po/thunar-archive-plugin.pot: Merge new strings.
-	* po/de.po: Update german translations.
-	* README: Update content.
-
-2006-03-26	Benedikt Meurer <benny at xfce.org>
-
-	* Initial import.
-
-# vi:set ts=8 sw=8 noet ai nocindent:
diff --git a/Makefile.am b/Makefile.am
index d74f741..a831af8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,21 @@
-# $Id$
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
+# -
+# Copyright (c) 2011 Jannis Pohlmann <jannis at xfce.org>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General 
+# Public License along with this library; if not, write to the 
+# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
 
 SUBDIRS =								\
 	icons								\
@@ -13,6 +30,15 @@ rpm: dist
 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
 
+.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
+
 EXTRA_DIST =								\
 	THANKS
 



More information about the Xfce4-commits mailing list