]> git.sur5r.net Git - openldap/commitdiff
Changed the way paths are replaced in xrpcomp so that it is done in the
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Mon, 22 Mar 1999 14:17:57 +0000 (14:17 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Mon, 22 Mar 1999 14:17:57 +0000 (14:17 +0000)
make step instead of make install
Removed pair of extra % from the path substitution

clients/fax500/Makefile.in

index 1499ab5a7cd811a6ca3e10493d6e70ca39c95f3e..a571ba1770b407c50a5aca0287788f80b1958c03 100644 (file)
@@ -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