From 3d08cd331c1adcf0d917392f7e527b3f00511748 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 24 May 2024 06:52:22 +0200 Subject: Merging upstream version 6.8. Signed-off-by: Daniel Baumann --- share/mk/src.mk | 62 --------------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 share/mk/src.mk (limited to 'share/mk/src.mk') diff --git a/share/mk/src.mk b/share/mk/src.mk deleted file mode 100644 index 20c0037..0000000 --- a/share/mk/src.mk +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2021-2024, Alejandro Colomar -# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception - - -ifndef MAKEFILE_SRC_INCLUDED -MAKEFILE_SRC_INCLUDED := 1 - - -include $(MAKEFILEDIR)/configure/build-depends/findutils.mk -include $(MAKEFILEDIR)/configure/build-depends/grep.mk -include $(MAKEFILEDIR)/configure/build-depends/sed.mk -include $(MAKEFILEDIR)/configure/src.mk - - -SORTMAN := $(srcdir)/scripts/sortman - - -MANEXT := \(\.[[:digit:]]\([[:alpha:]][[:alnum:]]*\)\?\>\|\.man\)\+\(\.man\|\.in\)*$ - - -MANPAGES := $(shell $(FIND) $(MANDIR)/* -type f \ - | $(GREP) '$(MANEXT)' \ - | $(SORTMAN) \ - | $(SED) 's,:,\\:,g') - - -MANINTROPAGES := $(shell $(FIND) $(MANDIR)/* -type f \ - | $(GREP) '$(MANEXT)' \ - | $(GREP) '/intro$(MANEXT)' \ - | $(SORTMAN) \ - | $(SED) 's,:,\\:,g') - - -$(foreach s, $(MANSECTIONS), \ - $(eval MAN$(s)DIR := $(MANDIR)/man$(s))) - -$(foreach s, $(MANSECTIONS), \ - $(eval MAN$(s)PAGES := \ - $(filter-out $(MANINTROPAGES), \ - $(filter $(MANDIR)/man$(s)/%, \ - $(filter %.$(s), \ - $(MANPAGES)))))) -$(foreach s, $(MANSECTIONS), \ - $(eval MAN$(s)INTROPAGE := \ - $(filter $(MANDIR)/man$(s)/%, \ - $(filter %.$(s), \ - $(MANINTROPAGES))))) - - -NONSO_MAN := $(shell $(FIND) $(MANDIR)/* -type f \ - | $(GREP) '$(MANEXT)' \ - | $(XARGS) $(GREP) -l '^\.TH ' \ - | $(SORTMAN) \ - | $(SED) 's,:,\\:,g') -NONSO_MDOC := $(shell $(FIND) $(MANDIR)/* -type f \ - | $(GREP) '$(MANEXT)' \ - | $(XARGS) $(GREP) -l '^\.Dt ' \ - | $(SORTMAN) \ - | $(SED) 's,:,\\:,g') - - -endif # include guard -- cgit v1.2.3