summaryrefslogtreecommitdiffstats
path: root/share/mk/dist/check/diffoscope.mk
blob: 33bcf30ecf0615dc78604041da822ea5b7e3f24b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2024, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception


ifndef MAKEFILE_DIST_CHECK_DIFFOSCOPE_INCLUDED
MAKEFILE_DIST_CHECK_DIFFOSCOPE_INCLUDED := 1


include $(MAKEFILEDIR)/configure/build-depends/coreutils.mk
include $(MAKEFILEDIR)/configure/build-depends/diffoscope.mk
include $(MAKEFILEDIR)/configure/directory_variables.mk
include $(MAKEFILEDIR)/dist/check/dist.mk
include $(MAKEFILEDIR)/dist/tar.mk


$(builddir)/distcheck.diffoscope.touch: $(_DISTFILE) $(REDIST) | $$(@D)/
	$(info	$(INFO_)DIFFOSCOPE	$^)
	$(DIFFOSCOPE) $^
	$(TOUCH) $@


.PHONY: distcheck-diffoscope
distcheck-diffoscope: $(builddir)/distcheck.diffoscope.touch;


endif  # include guard