summaryrefslogtreecommitdiffstats
path: root/share/mk/dist/check/diffoscope.mk
blob: 14058cb3c942a070957374475809b21b60be8824 (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/touch.mk
include $(MAKEFILEDIR)/configure/build-depends/diffoscope/diffoscope.mk
include $(MAKEFILEDIR)/configure/directory_variables/build.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