mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Install schema.
This commit is contained in:
parent
883f9de61d
commit
a995aef4a5
@ -152,7 +152,7 @@ veryclean-local-srv: FORCE
|
||||
fi; \
|
||||
done
|
||||
|
||||
install-local-srv: install-slapd install-conf install-tools
|
||||
install-local-srv: install-slapd install-conf install-schema install-tools
|
||||
|
||||
install-slapd: FORCE
|
||||
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
||||
@ -180,6 +180,19 @@ all-cffiles: slapd
|
||||
done
|
||||
touch all-cffiles
|
||||
|
||||
install-schema: FORCE
|
||||
@-$(MKDIR) $(DESTDIR)$(sysconfdir)/schema
|
||||
@for i in schema/*.schema ; do \
|
||||
if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
|
||||
echo "installing $$i in $(sysconfdir)"; \
|
||||
echo $(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i; \
|
||||
$(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i; \
|
||||
else \
|
||||
echo "PRESERVING EXISTING SCHEMA FILE $(DESTDIR)$(sysconfdir)/$$i"; \
|
||||
fi; \
|
||||
$(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i.default ; \
|
||||
done
|
||||
|
||||
install-conf: FORCE
|
||||
@-$(MKDIR) $(DESTDIR)$(sysconfdir)
|
||||
@for i in $(CFFILES); do \
|
||||
|
Loading…
Reference in New Issue
Block a user