Commit c5b25a54 authored by Daniel Elstner's avatar Daniel Elstner

Bump version and generate ChangeLog on make dist

* ChangeLog: Insert note saying that the file is now auto-generated.
* Makefile.am (dist-changelog): New rule to generate the distributed
ChangeLog file.  Hook up to dist-hook.
* configure.ac (AC_INIT): Increment version to regexxer 0.10.
(AC_PREREQ): Require Autoconf >= 2.59.
(AM_INIT_AUTOMAKE): Require Automake >= 1.9.  Use dist-bzip2 option.
* NEWS: Start news entry for regexxer 0.10 release.
* autogen.sh: Pass --verbose option to autoreconf.
parent 68d24889
......@@ -14,4 +14,5 @@ Makefile.in
/intltool-*.in
/missing
/mkinstalldirs
/regexxer-*.tar.*
/m4/intltool.m4
The ChangeLog is now auto-generated when releasing. If you
are seeing this, use 'git log' for a detailed list of changes.
0.9:
2007-02-18 Daniel Elstner <daniel.kitta@gmail.com>
......
......@@ -119,6 +119,8 @@ install-data-hook: install-update-icon-cache
uninstall-hook: uninstall-update-icon-cache
endif
dist-hook: dist-changelog
# Note that this rule creates the ui/ build directory as a side effect.
# This works just fine because the target is in BUILT_SOURCES and thus
# built before everything else. Otherwise a special ui/.dirstamp rule
......@@ -134,6 +136,18 @@ ui/stockimages.h: $(stockimages)
echo " $(pixbuf_csource) $$build_list >$@"; \
$(pixbuf_csource) $$build_list >$@
dist-changelog:
@if test -r "$(top_srcdir)/.git"; then \
if git --git-dir="$(top_srcdir)/.git" --work-tree="$(top_srcdir)" \
log --date=short --pretty='format:%cd %an <%ae>%n%n%s%n%n%b%n' \
| sed -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \
-e '/[^ ]/,/^[ ]*$$/! d' \
-e 's/^[ ]*/ /' \
-e 's/^[ ]*$$//' >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
else rm -f .ChangeLog.tmp; exit 1; fi; \
fi
install-schemas: $(schemas_DATA)
@$(POST_INSTALL)
test -n "$(DESTDIR)" || $(gconftool) --makefile-install-rule $(schemas_DATA)
......@@ -150,4 +164,7 @@ uninstall-update-icon-cache:
@$(POST_UNINSTALL)
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
.PHONY: install-schemas uninstall-schemas install-update-icon-cache uninstall-update-icon-cache
.PHONY: dist-changelog install-schemas uninstall-schemas \
install-update-icon-cache uninstall-update-icon-cache
.DELETE_ON_ERROR:
regexxer 0.10 (2009-??-??)
* New maintainer: Fabien Parent
regexxer 0.9 (2007-02-18)
* Command line option support
......
......@@ -3,6 +3,6 @@ test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
......@@ -16,14 +16,15 @@
## along with regexxer; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
AC_INIT([regexxer], [0.9], [http://regexxer.sourceforge.net/bugs], [regexxer])
AC_PREREQ([2.58])
AC_INIT([regexxer], [0.10], [http://regexxer.sourceforge.net/bugs], [regexxer],
[http://regexxer.sourceforge.net/])
AC_PREREQ([2.59])
AC_CONFIG_SRCDIR([ui/regexxer.desktop.in])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.8 -Wall gnu no-define nostdinc check-news])
AM_INIT_AUTOMAKE([1.9 -Wall gnu no-define nostdinc check-news dist-bzip2])
AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
AC_PROG_CC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment