]> git.sur5r.net Git - openldap/commitdiff
ITS#454: fix VPATH support
authorKurt Zeilenga <kurt@openldap.org>
Sat, 12 Feb 2000 20:04:45 +0000 (20:04 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 12 Feb 2000 20:04:45 +0000 (20:04 +0000)
servers/slapd/Makefile.in

index 35f06f70486c1799e66e0224dda5d6de778f06a0..077c1699ec81f146d41e01100092d88552706620 100644 (file)
@@ -182,7 +182,8 @@ all-cffiles: slapd
 
 install-schema: FORCE
        @-$(MKDIR) $(DESTDIR)$(sysconfdir)/schema
-       @for i in schema/*.schema schema/*.conf ; do \
+       @cd $(srcdir) ; \
+       for i in schema/*.schema schema/*.conf ; do \
                if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
                        echo "installing $$i in $(sysconfdir)"; \
                        echo $(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i; \