X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2FMakefile.in;h=23be05f6b0806e437683e5c4c586f2c548f7f660;hb=12ed7e46ef97df8bc628c48eb6bbd121db95d2b2;hp=b969697e6036a4f4bdd0975597af1b3c70100644;hpb=2e769ccf43ee14a213045adabf06b00c6f12d5bd;p=openldap diff --git a/include/Makefile.in b/include/Makefile.in index b969697e60..23be05f6b0 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -7,21 +7,23 @@ all-local: ldapconfig.h FORCE install-local: FORCE -$(MKDIR) -p $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 proto-ldap.h $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(includedir) - $(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/lber.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_cdefs.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir) + $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_schema.h $(includedir) clean-local: FORCE $(RM) ldapconfig.h veryclean-local: clean-local FORCE + $(RM) portable.h ldap_features.h depend-local: ldapconfig.h FORCE -ldapconfig.h: ldapconfig.h.edit Makefile +ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile @$(RM) $@ @echo "Making ldapconfig.h" @echo "/*" > $@; \ @@ -32,6 +34,7 @@ ldapconfig.h: ldapconfig.h.edit Makefile echo "" >> $@; \ $(SED) \ -e 's;%SYSCONFDIR%;$(sysconfdir);' \ + -e 's;%DATADIR%;$(datadir);' \ -e 's;%BINDIR%;$(bindir);' \ -e 's;%SBINDIR%;$(sbindir);' \ -e 's;%LIBEXECDIR%;$(libexecdir);' \ @@ -39,11 +42,11 @@ ldapconfig.h: ldapconfig.h.edit Makefile -e 's;%EDITOR%;$(EDITOR);' \ -e 's;%FINGER%;$(FINGER);' \ -e 's;%SENDMAIL%;$(SENDMAIL);' \ - ldapconfig.h.edit >> $@; \ + $(srcdir)/ldapconfig.h.edit >> $@; \ $(CHMOD) 444 $@ all-common: all-local -install-common: install-local +install-common: all-common install-local clean-common: clean-local veryclean-common: veryclean-local depend-common: depend-local