From: Julio Sánchez Fernández Date: Mon, 22 Mar 1999 14:17:57 +0000 (+0000) Subject: Changed the way paths are replaced in xrpcomp so that it is done in the X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~348 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89ff3b6392b9fae3bf832b902885365e8c7dbe12;p=openldap 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 --- diff --git a/clients/fax500/Makefile.in b/clients/fax500/Makefile.in index 1499ab5a7c..a571ba1770 100644 --- a/clients/fax500/Makefile.in +++ b/clients/fax500/Makefile.in @@ -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