aboutsummaryrefslogtreecommitdiff
path: root/common/relationship/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/relationship/makefile')
-rw-r--r--common/relationship/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/relationship/makefile b/common/relationship/makefile
index a3857d4..7ed60cf 100644
--- a/common/relationship/makefile
+++ b/common/relationship/makefile
@@ -69,7 +69,9 @@ $(dist):
$(test): $(driver) $(src_base)/test.std
$(call message,sql $$1,$(dcf_root)/db-driver $$1, $(src_base)/test.sql)
$(call message,test $<,$< --options-file $(dcf_root)/db.options \
-| diff -u $(src_base)/test.std -)
+>$(out_base)/test.out)
+ $(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
+ $(call message,,rm -f $(out_base)/test.out)
# Clean.
#
@@ -78,6 +80,7 @@ $(clean): \
$(addsuffix .cxx.clean,$(cxx_obj)) \
$(addsuffix .cxx.clean,$(cxx_od)) \
$(addprefix $(out_base)/,$(odb_hdr:.hxx=-odb.cxx.hxx.clean))
+ $(call message,,rm -f $(out_base)/test.out)
# Generated .gitignore.
#