Makefiles: Clean some more files created during the build.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 6 May 2023 15:37:08 +0000 (08:37 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 6 May 2023 15:37:08 +0000 (08:37 -0700)
doc/automake.mk
tests/automake.mk

index 110e379d11059b0c411eeb88544cd5191d8f68c5..5c7d821c7584f65d7b0cc7a5362f078913e2bfa0 100644 (file)
@@ -281,6 +281,7 @@ EXTRA_DIST += doc/tutorial.stt
 ALL_LOCAL += tutorial-stt-must-print-all-layers
 tutorial-stt-must-print-all-layers:
        $(AM_V_GEN)grep 'printAllLayers="true"' $(srcdir)/doc/tutorial.stt >/dev/null 2>&1 && touch $@
+DISTCLEANFILES += tutorial-stt-must-print-all-layers
 
 # Convert a text file into a Texinfo file.
 .txt.texi:
index e6782b10fc70966ec84bfc77b2dccf68be3487e6..aa79c2a482be381f87dc96af1c09fe1faf8464bc 100644 (file)
@@ -498,6 +498,7 @@ tests/all-layers.stt: utilities/pspp-output
        $(AM_V_at)if grep 'printAllLayers="false"' $@.tmp >/dev/null; then :; else \
                echo >&2 "$<: expected printAllLayers=\"false\""; exit 1; fi
        $(AM_v_at)sed 's/printAllLayers="false"/printAllLayers="true"/' < $@.tmp > $@
+DISTCLEANFILES += tests/all-layers.stt tests/all-layers.stt.tmp
 
 CHECK_LOCAL += tests_check
 tests_check: tests/atconfig tests/atlocal $(TESTSUITE) $(check_PROGRAMS) $(check_DATA)