Mercurial > octave
changeset 22018:a49ed7b7b66f
build: delete HG-ID on 'make distclean' and 'make maintainer-clean'
* Makefile.am (MAINTAINERCLEANFILES): Add HG-ID to the list.
(distclean-local): Delete HG-ID only if building outside of $(srcdir).
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 30 Jun 2016 23:30:11 -0700 |
parents | 4eafa2cc599f |
children | 2d8e9bdf5683 |
files | Makefile.am |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Thu Jun 30 18:32:23 2016 -0700 +++ b/Makefile.am Thu Jun 30 23:30:11 2016 -0700 @@ -299,8 +299,9 @@ .gdbinit MAINTAINERCLEANFILES += \ + $(BUILT_DISTFILES) \ ChangeLog \ - $(BUILT_DISTFILES) + HG-ID CONFIG_FILES = @ac_config_headers@ @ac_config_files@ @@ -419,6 +420,7 @@ clean-local: doc-clean distclean-local: + if [ "x${srcdir}" != "x." ]; then rm -f HG-ID; fi maintainer-clean-local: doc-maintainer-clean