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.
This commit is contained in:
Lennart Poettering 2015-01-07 17:19:46 +01:00
parent b311d32ff4
commit 49aa61a550
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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>