]> git.sur5r.net Git - openldap/blobdiff - build/man.mk
ITS#6711 use idassert TLS conf for priv connection if aclbind not set
[openldap] / build / man.mk
index bbca0e205fd3fab9a0bd43d5a5ba8d7bd320554a..807169e425f46b31e36d5cbcc1f720f668a6e2b8 100644 (file)
@@ -1,7 +1,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2006 The OpenLDAP Foundation.
+## Copyright 1998-2011 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -23,7 +23,7 @@ all-common:
        PAGES=`cd $(srcdir); echo *.$(MANSECT)`; \
        for page in $$PAGES; do \
                $(SED) -e "s%LDVERSION%$(VERSION)%" \
-                       -e 's%ETCDIR%$(sysconfdir)%' \
+                       -e 's%ETCDIR%$(sysconfdir)%g' \
                        -e 's%LOCALSTATEDIR%$(localstatedir)%' \
                        -e 's%SYSCONFDIR%$(sysconfdir)%' \
                        -e 's%DATADIR%$(datadir)%' \
@@ -31,8 +31,10 @@ all-common:
                        -e 's%BINDIR%$(bindir)%' \
                        -e 's%LIBDIR%$(libdir)%' \
                        -e 's%LIBEXECDIR%$(libexecdir)%' \
+                       -e 's%MODULEDIR%$(moduledir)%' \
                        -e 's%RELEASEDATE%$(RELEASEDATE)%' \
-                       $(srcdir)/$$page > $$page.$(TMP_SUFFIX); \
+                               $(srcdir)/$$page \
+                       | (cd $(srcdir); $(SOELIM) -) > $$page.$(TMP_SUFFIX); \
        done
 
 install-common: