comparison Makefile.am @ 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 e154d23b2fd1
comparison
equal deleted inserted replaced
22017:4eafa2cc599f 22018:a49ed7b7b66f
297 $(DIRSTAMP_FILES) \ 297 $(DIRSTAMP_FILES) \
298 $(GEN_CONFIG_SHELL) \ 298 $(GEN_CONFIG_SHELL) \
299 .gdbinit 299 .gdbinit
300 300
301 MAINTAINERCLEANFILES += \ 301 MAINTAINERCLEANFILES += \
302 $(BUILT_DISTFILES) \
302 ChangeLog \ 303 ChangeLog \
303 $(BUILT_DISTFILES) 304 HG-ID
304 305
305 CONFIG_FILES = @ac_config_headers@ @ac_config_files@ 306 CONFIG_FILES = @ac_config_headers@ @ac_config_files@
306 307
307 octinclude_HEADERS += oct-conf-post.h 308 octinclude_HEADERS += oct-conf-post.h
308 nodist_octinclude_HEADERS += config.h octave-config.h 309 nodist_octinclude_HEADERS += config.h octave-config.h
417 install-data-local: installdirs-local 418 install-data-local: installdirs-local
418 419
419 clean-local: doc-clean 420 clean-local: doc-clean
420 421
421 distclean-local: 422 distclean-local:
423 if [ "x${srcdir}" != "x." ]; then rm -f HG-ID; fi
422 424
423 maintainer-clean-local: doc-maintainer-clean 425 maintainer-clean-local: doc-maintainer-clean
424 426
425 define move_if_change_rule 427 define move_if_change_rule
426 if [ -s $(1) ]; then \ 428 if [ -s $(1) ]; then \