# HG changeset patch # User Rik # Date 1669748885 28800 # Node ID 7c020b18e299e2c3abfdf15b03ee16dffb53b271 # Parent 9d3dadf6f3308665743db24098945a5d4af1724c build: Change Makefile rules to get 'make distcheck' to pass. * Makefile.am: Remove ".PHONY" specification from NEWS target. * test/Makefile.am: Add DIRSTAMP_FILES to DISTCLEANFILES variable. diff -r 9d3dadf6f330 -r 7c020b18e299 Makefile.am --- a/Makefile.am Tue Nov 29 07:14:45 2022 -0800 +++ b/Makefile.am Tue Nov 29 11:08:05 2022 -0800 @@ -391,8 +391,8 @@ $(AM_V_GEN)$(gdbinit-install-rule) NEWS: etc/NEWS.$(OCTAVE_MAJOR_VERSION).md - $(AM_V_GEN)cp $< $@ -.PHONY: NEWS + $(AM_V_GEN)rm -f $@ && \ + cp $< $@ define changelog-from-hg-log rm -f $@-t && \ diff -r 9d3dadf6f330 -r 7c020b18e299 test/Makefile.am --- a/test/Makefile.am Tue Nov 29 07:14:45 2022 -0800 +++ b/test/Makefile.am Tue Nov 29 11:08:05 2022 -0800 @@ -239,7 +239,8 @@ $(GENERATED_TEST_FILES) DISTCLEANFILES += \ - fntests.log + fntests.log \ + $(DIRSTAMP_FILES) clean-local: test-clean