chiark / gitweb /
man: add an alias to libnss_myhostname.so2 for nss-myhostname
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Jan 2015 16:19:46 +0000 (17:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Jan 2015 16:19:46 +0000 (17:19 +0100)
The module appears under the name "libnss_myhostname.so.2" in the file
system, hence let's link it up under that name.

Makefile-man.am
man/nss-myhostname.xml

index 8dc8feb..f212a0f 100644 (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
 
index 999d1af..0f68c4d 100644 (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>