From 89ff3b6392b9fae3bf832b902885365e8c7dbe12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Mon, 22 Mar 1999 14:17:57 +0000 Subject: [PATCH] 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 --- clients/fax500/Makefile.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5