blob: cc89bae40a54daca89958e77ce4ad512045279c6 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 2022-2024, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
ifndef MAKEFILE_CONFIGURE_VERSION_INCLUDED
MAKEFILE_CONFIGURE_VERSION_INCLUDED := 1
include $(MAKEFILEDIR)/configure/build-depends/coreutils.mk
include $(MAKEFILEDIR)/configure/build-depends/findutils.mk
include $(MAKEFILEDIR)/configure/build-depends/git.mk
include $(MAKEFILEDIR)/configure/build-depends/grep.mk
include $(MAKEFILEDIR)/configure/verbose.mk
DISTNAME := man-pages-6.7
DISTVERSION := 6.7
DISTFILESCMD := \
$(FIND) $(srcdir) -not -type d \
| $(GREP) -v '^$(srcdir)/.git$$' \
| $(GREP) -v '^$(srcdir)/.git/' \
| $(GREP) -v '^$(srcdir)/.tmp/' \
| $(GREP) -v '^$(srcdir)/.checkpatch-camelcase.' \
| $(SORT)
DISTDATECMD := \
$(ECHO) '$(DISTVERSION)' \
| if $(GREP) -- '-dirty$$' >/dev/null; then \
$(DISTFILESCMD) \
| $(XARGS) $(STAT) -c %y \
| $(SORT) -n \
| $(TAIL) -n1; \
else \
$(GIT) log -1 --format='%cD'; \
fi;
DISTDATE := Tue, 19 Mar 2024 19:07:13 +0100
endif # include guard
|