Ensure the ChangeLog is up-to-date when making a new distribution.
Thanks to Stefano Lattarini for this suggestion.
This commit is contained in:
parent
5eef9830c1
commit
e7e0646db0
3 changed files with 11 additions and 3 deletions
|
@ -179,7 +179,14 @@ $(HTML): doc/manual-split
|
||||||
# keep in anyway:
|
# keep in anyway:
|
||||||
dist-hook: doc/manual-split
|
dist-hook: doc/manual-split
|
||||||
|
|
||||||
dist-hook: $(dist_man_MANS) ChangeLog
|
dist-hook: $(dist_man_MANS)
|
||||||
|
## If we are creating a distribution from a git checkout, ensure
|
||||||
|
## the ChangeLog file is in sync the git repository.
|
||||||
|
if test -d $(top_srcdir)/.git; then \
|
||||||
|
rm -f ChangeLog \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) ChangeLog \
|
||||||
|
&& cp -f ChangeLog $(distdir)/ChangeLog; \
|
||||||
|
fi
|
||||||
|
|
||||||
ChangeLog: doc/ChangeLog.OLD
|
ChangeLog: doc/ChangeLog.OLD
|
||||||
@if [ -d .git ]; then \
|
@if [ -d .git ]; then \
|
||||||
|
|
3
NEWS
3
NEWS
|
@ -1,5 +1,8 @@
|
||||||
News file for Stow.
|
News file for Stow.
|
||||||
|
|
||||||
|
* Changes in version 2.1.2
|
||||||
|
** Ensured the ChangeLog is up-to-date when making a new distribution.
|
||||||
|
Thanks to Stefano Lattarini for this suggestion.
|
||||||
* Changes in version 2.1.1
|
* Changes in version 2.1.1
|
||||||
** Fixed bug where ./configure --with-pmdir=X was ineffectual.
|
** Fixed bug where ./configure --with-pmdir=X was ineffectual.
|
||||||
** Calculated the correct default value for pmdir based on the local Perl installation.
|
** Calculated the correct default value for pmdir based on the local Perl installation.
|
||||||
|
|
|
@ -18,8 +18,6 @@ How to make a new release of GNU Stow
|
||||||
|
|
||||||
- Ensure all changes are committed to git.
|
- Ensure all changes are committed to git.
|
||||||
|
|
||||||
- Run `rm ChangeLog' to ensure it will get rebuilt.
|
|
||||||
|
|
||||||
- Run make distcheck and ensure that everything looks good.
|
- Run make distcheck and ensure that everything looks good.
|
||||||
It should generate the distribution files for you.
|
It should generate the distribution files for you.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue