]> git.sur5r.net Git - openldap/blobdiff - build/man.mk
ITS#7759
[openldap] / build / man.mk
index 12041a51945cf750a4dffde049aca0451012a617..d43b183736a334f14c9f722cf531febe7b69b01c 100644 (file)
@@ -1,7 +1,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2013 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,6 +31,7 @@ all-common:
                        -e 's%BINDIR%$(bindir)%' \
                        -e 's%LIBDIR%$(libdir)%' \
                        -e 's%LIBEXECDIR%$(libexecdir)%' \
+                       -e 's%MODULEDIR%$(moduledir)%' \
                        -e 's%RELEASEDATE%$(RELEASEDATE)%' \
                                $(srcdir)/$$page \
                        | (cd $(srcdir); $(SOELIM) -) > $$page.$(TMP_SUFFIX); \