]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
installed slapd.conf needs localstatedir translation.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 4 Feb 1999 18:52:26 +0000 (18:52 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 4 Feb 1999 18:52:26 +0000 (18:52 +0000)
servers/slapd/Makefile.in

index c2fadfa82a1c270e9f73a1630f5c17f560334a7f..4eef9b39de98ac3991d7a31c56b9b89ae3695b59 100644 (file)
@@ -117,7 +117,9 @@ install-conf: FORCE
                else \
                        mode=644 ; \
                fi ; \
-               $(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' $(srcdir)/$$i > $$tmpcf ; \
+               $(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' \
+                       -e 's;%LOCALSTATEDIR%;$(localstatedir);' \
+                       $(srcdir)/$$i > $$tmpcf ; \
                if test ! -f $(sysconfdir)/$$i; then \
                        echo "installing $$i in $(sysconfdir)"; \
                        echo "$(INSTALL) $(INSTALLFLAGS) -m $$mode $$tmpcf $(sysconfdir)/$$i"; \