mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
Changed the way paths are replaced in xrpcomp so that it is done in the
make step instead of make install Removed pair of extra % from the path substitution
This commit is contained in:
parent
c9eacbdc64
commit
89ff3b6392
1 changed files with 6 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
PROGRAMS= rp500 fax500
|
||||
PROGRAMS= rp500 fax500 xrpcomp.tmp
|
||||
|
||||
SRCS= main.c faxtotpc.c rp500.c
|
||||
XSRCS=fax5version.c rpversion.c
|
||||
|
|
@ -34,10 +34,11 @@ fax5version.c: ${FAX5OBJS} $(LDAP_LIBDEPEND)
|
|||
-e "s|%VERSION%|$${v}|" \
|
||||
< $(srcdir)/Version.c > $@)
|
||||
|
||||
install-local: $(PROGRAMS) xrpcomp FORCE
|
||||
xrpcomp.tmp: xrpcomp
|
||||
$(SED) -e 's%\%LIBEXECDIR\%%$(libexecdir)%' $(srcdir)/xrpcomp > xrpcomp.tmp
|
||||
|
||||
install-local: $(PROGRAMS) FORCE
|
||||
-$(MKDIR) $(libexecdir)
|
||||
$(LTINSTALL) $(INSTALLFLAGS) -m 755 rp500 $(libexecdir)
|
||||
$(LTINSTALL) $(INSTALLFLAGS) -m 755 fax500 $(libexecdir)
|
||||
$(SED) -e 's%LIBEXECDIR%$(libexecdir)%' $(srcdir)/xrpcomp > /tmp/xrpcomp.tmp
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 755 /tmp/xrpcomp.tmp $(libexecdir)/xrpcomp
|
||||
$(RM) /tmp/xrpcomp.tmp
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 755 xrpcomp.tmp $(libexecdir)/xrpcomp
|
||||
|
|
|
|||
Loading…
Reference in a new issue