nss-pam-ldapd commit: r1884 - nss-pam-ldapd/man
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1884 - nss-pam-ldapd/man
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1884 - nss-pam-ldapd/man
- Date: Sun, 30 Dec 2012 14:12:25 +0100 (CET)
Author: arthur
Date: Sun Dec 30 14:12:24 2012
New Revision: 1884
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1884&view=revision
Log:
make the way manual pages are selected for installation more maintainable
Modified:
nss-pam-ldapd/man/Makefile.am
Modified: nss-pam-ldapd/man/Makefile.am
==============================================================================
--- nss-pam-ldapd/man/Makefile.am Sat Dec 29 19:21:34 2012 (r1883)
+++ nss-pam-ldapd/man/Makefile.am Sun Dec 30 14:12:24 2012 (r1884)
@@ -17,25 +17,21 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-dist_man_MANS = nslcd.conf.5 nslcd.8
+NSLCD_MANS = nslcd.conf.5 nslcd.8
+PYNSLCD_MANS = pynslcd.8
+PAM_MANS = pam_ldap.8
+ALLMANS = $(NSLCD_MANS) $(PYNSLCD_MANS) $(PAM_MANS)
-EXTRA_DIST = nslcd.conf.5.xml nslcd.8.xml pam_ldap.8.xml pynslcd.8.xml
+noinst_DATA = $(ALLMANS)
+EXTRA_DIST = $(shell echo $(ALLMANS) | sed 's/ \|$$/.xml /g')
-# ensure that the pam_ldap manpage is always built but only installed
-# if the PAM module is built
+# figure out which manual pages to install
+dist_man_MANS = $(NSLCD_MANS)
if ENABLE_PAM
-dist_man_MANS += pam_ldap.8
-else
-EXTRA_DIST += pam_ldap.8
-noinst_DATA = pam_ldap.8
+ dist_man_MANS += $(PAM_MANS)
endif
-
-# ensure that pynslcd manpage is installed when pynslcd is built
if ENABLE_PYNSLCD
-dist_man_MANS += pynslcd.8
-else
-EXTRA_DIST += pynslcd.8
-noinst_DATA = pynslcd.8
+ dist_man_MANS += $(PYNSLCD_MANS)
endif
if GENMAN
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1884 - nss-pam-ldapd/man,
Commits of the nss-pam-ldapd project