build: Install ChangeLog.

* ChangeLog: New file.
* install.sh: Regenerate it, install it.
This commit is contained in:
Jan Nieuwenhuizen 2018-07-21 23:56:08 +02:00
parent 4072046a2b
commit 9e1c618b00
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
4 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View file

@ -44,7 +44,6 @@
/.config.make
/.store
/.tarball-version
/ChangeLog
#keep this: bootstrap
#/mes.mes

4
ChangeLog Normal file
View file

@ -0,0 +1,4 @@
Normally a ChangeLog is generated at "make dist" time and available in
source tarballs.
If not, see the Git commit log at <http://gitlab.com/janneke/mes/>.

View file

@ -54,6 +54,10 @@ ifdef GUILE_TOOLS
export GUILE_TOOLS
endif
ifdef PERL
export PERL
endif
ifdef TCC
export TCC
endif

View file

@ -36,10 +36,18 @@ chmod -w+x $DESTDIR$bindir/diff.scm
mkdir -p $docdir
if [ -n "$PERL" -a -n "$GIT" ]\
&& $PERL -v > /dev/null\
&& $GIT --status > /dev/null; then
$PERL build-aux/gitlog-to-changelog --srcdir=. > ChangeLog
fi
cp\
AUTHORS\
BOOTSTRAP\
COPYING\
ChangeLog\
HACKING\
INSTALL\
NEWS\