Skip to content

Commit 9def476

Browse files
authored
Merge pull request #402 from orlitzky/fix-distclean
Fix distcheck
2 parents aa75d5e + 5fc1413 commit 9def476

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

libopendkim/tests/Makefile.am

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,18 @@ if ALL_SYMBOLS
5353
check_PROGRAMS += t-test49 t-test113 t-test118
5454
endif
5555

56-
check_DATA = testkeys
57-
CLEANFILES = $(check_DATA)
58-
5956
# The path "./testkeys" is hard-coded in t-testdata.h
6057
testkeys: 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.
6564
EXTRA_PROGRAMS = t-setup
6665

66+
CLEANFILES = $(check_DATA) $(EXTRA_PROGRAMS)
67+
6768
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
6869

6970
EXTRA_DIST = $(check_SCRIPTS) t-sha1.h

0 commit comments

Comments
 (0)