Skip to content
Snippets Groups Projects
Commit 89ff3b63 authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

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
parent c9eacbdc
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment