Add infrastructure for generating the ChangeLog.
This commit is contained in:
parent
90fce89aee
commit
0fb4e7e14c
2 changed files with 14 additions and 0 deletions
2
AUTHORS
2
AUTHORS
|
@ -0,0 +1,2 @@
|
||||||
|
rconty@il4p.fr:Romuald Conty <rconty@il4p.fr>
|
||||||
|
romain.tartiere:Romain Tartière <romain@blogreen.org>
|
12
Makefile.am
12
Makefile.am
|
@ -6,4 +6,16 @@ SUBDIRS = libfreefare test examples
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libfreefare.pc
|
pkgconfig_DATA = libfreefare.pc
|
||||||
|
|
||||||
|
dist-hook:
|
||||||
|
@if test -d "$(srcdir)/.svn"; then \
|
||||||
|
echo "Creating ChangeLog..." && \
|
||||||
|
( cd "$(top_srcdir)" && \
|
||||||
|
echo '# Generated by Makefile. Do not edit.'; echo; \
|
||||||
|
$(top_srcdir)/missing --run svn2cl --authors=AUTHORS --strip-prefix=/trunk/libfreefare --stdout ) > ChangeLog.tmp \
|
||||||
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
||||||
|
|| ( rm -f ChangeLog.tmp ; \
|
||||||
|
echo "Failed to generate ChangeLog" >&2 ); \
|
||||||
|
else \
|
||||||
|
echo "A svn checkout is required to generate a ChangeLog" >&2; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue