mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 14:23:34 -05:00
ITS#10314 Only install the slapi-plugin.h header if building slapi library
This commit is contained in:
parent
3521bfb30b
commit
06cd30fb72
1 changed files with 6 additions and 1 deletions
|
|
@ -15,16 +15,21 @@
|
|||
|
||||
all-local: ldap_config.h FORCE
|
||||
|
||||
BUILD_SLAPI = @BUILD_SLAPI@
|
||||
|
||||
install-local: FORCE
|
||||
-$(MKDIR) $(DESTDIR)$(includedir)
|
||||
for header in $(srcdir)/lber.h lber_types.h \
|
||||
$(srcdir)/ldap.h $(srcdir)/ldap_cdefs.h \
|
||||
$(srcdir)/ldap_schema.h $(srcdir)/ldap_utf8.h \
|
||||
$(srcdir)/slapi-plugin.h ldap_features.h \
|
||||
ldap_features.h \
|
||||
$(srcdir)/ldif.h $(srcdir)/openldap.h ; \
|
||||
do \
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
|
||||
done
|
||||
if test "$(BUILD_SLAPI)" = "yes"; then \
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/slapi-plugin.h $(DESTDIR)$(includedir); \
|
||||
fi
|
||||
|
||||
clean-local: FORCE
|
||||
$(RM) ldap_config.h
|
||||
|
|
|
|||
Loading…
Reference in a new issue