summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/man
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/configure/man')
-rw-r--r--share/mk/configure/man/link_pages.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/share/mk/configure/man/link_pages.mk b/share/mk/configure/man/link_pages.mk
new file mode 100644
index 0000000..8e9c56c
--- /dev/null
+++ b/share/mk/configure/man/link_pages.mk
@@ -0,0 +1,18 @@
+# Copyright 2023-2024, Alejandro Colomar <alx@kernel.org>
+# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+
+
+ifndef MAKEFILE_CONFIGURE_MAN_LINK_PAGES_INCLUDED
+MAKEFILE_CONFIGURE_MAN_LINK_PAGES_INCLUDED := 1
+
+
+LINK_PAGES := .so
+ifeq ($(LINK_PAGES),.so)
+else ifeq ($(LINK_PAGES),symlink)
+else
+$(warning "LINK_PAGES": "$(LINK_PAGES)")
+$(error Valid values for "LINK_PAGES": [".so", "symlink"])
+endif
+
+
+endif # include guard