File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ $(nodist_doc_DATA): $(doc_DATA_intermediate) $(EXTRA_DIST) Makefile
7272 $(edit ) $$ {srcdir}$@ .in > $@ .tmp
7373 mv $@ .tmp $@
7474
75+ # Ensure that anything we build is cleaned up.
76+ CLEANFILES = $(nodist_doc_DATA )
7577
7678$(DIST_ARCHIVES ) : distcheck
7779
Original file line number Diff line number Diff line change @@ -53,17 +53,18 @@ if ALL_SYMBOLS
5353check_PROGRAMS += t-test49 t-test113 t-test118
5454endif
5555
56- check_DATA = testkeys
57- CLEANFILES = $(check_DATA )
58-
5956# The path "./testkeys" is hard-coded in t-testdata.h
6057testkeys : t-setup$(EXEEXT )
6158 ./t-setup$(EXEEXT )
6259
60+ check_DATA = testkeys
61+
6362# t-setup needs to run first, before check_PROGRAMS. Put it in
6463# EXTRA_PROGRAMS so automake will still build it on demand.
6564EXTRA_PROGRAMS = t-setup
6665
66+ CLEANFILES = $(check_DATA ) $(EXTRA_PROGRAMS )
67+
6768TESTS = $(check_PROGRAMS ) $(check_SCRIPTS )
6869
6970EXTRA_DIST = $(check_SCRIPTS ) t-sha1.h
You can’t perform that action at this time.
0 commit comments