Skip to content

Commit e07e378

Browse files
committed
Ensure binaries from a different configuration are all deleted on "make clean".
1 parent 3844bad commit e07e378

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Makefile.am

+12-2
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,19 @@ bin_PROGRAMS =
240240
noinst_PROGRAMS =
241241

242242
# Additional files to delete on 'make clean', 'make distclean',
243-
# and 'make maintainer-clean'.
243+
# and 'make maintainer-clean'. It turns out that the default is to delete only
244+
# those binaries that *this* configuration has created. If the configuration
245+
# has been changed, some binaries may not get automatically deleted. Therefore
246+
# we list them here.
247+
248+
CLEANFILES = \
249+
pcre2_dftables \
250+
pcre2_jit_test \
251+
pcre2fuzzcheck-8 \
252+
pcre2fuzzcheck-16 \
253+
pcre2fuzzcheck-32 \
254+
pcre2demo
244255

245-
CLEANFILES =
246256
DISTCLEANFILES = src/config.h.in~
247257
MAINTAINERCLEANFILES =
248258

0 commit comments

Comments
 (0)