summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-07 17:19:46 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-07 17:19:46 +0100
commit49aa61a550b3baadb1fb50e586d8fbe8b642025f (patch)
treecf15f89fb962ed668e988c3d55b6452d48a6c053
parentb311d32ff4fac5335aa8eea479bda49131ecae75 (diff)
man: add an alias to libnss_myhostname.so2 for nss-myhostname
The module appears under the name "libnss_myhostname.so.2" in the file system, hence let's link it up under that name.
-rw-r--r--Makefile-man.am6
-rw-r--r--man/nss-myhostname.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile-man.am b/Makefile-man.am
index 8dc8febcf6..f212a0f939 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -1337,8 +1337,10 @@ if HAVE_MYHOSTNAME
MANPAGES += \
man/nss-myhostname.8
MANPAGES_ALIAS += \
- #
-
+ man/libnss_myhostname.so.2.8
+man/libnss_myhostname.so.2.8: man/nss-myhostname.8
+man/libnss_myhostname.so.2.html: man/nss-myhostname.html
+ $(html-alias)
endif
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 999d1afaf5..0f68c4d36e 100644
--- a/man/nss-myhostname.xml
+++ b/man/nss-myhostname.xml
@@ -45,6 +45,7 @@
<refnamediv>
<refname>nss-myhostname</refname>
+ <refname>libnss_myhostname.so.2</refname>
<refpurpose>Provide hostname resolution for the locally
configured system hostname.</refpurpose>
</refnamediv>