summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-06 22:48:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-06 22:48:42 -0700
commit28b9f7a9c2274e69fac0e37836fd981eb5b2f585 (patch)
treead2f80354db70a74d50ddc6887df8aa4f7fc5f3d /Makefile.in
parent60e86870f4086f094f34992a764443769b1095f0 (diff)
downloadnasm-28b9f7a9c2274e69fac0e37836fd981eb5b2f585.tar.gz
Makefile.in: fix install_rdf some more...
Apparently I have a hard time getting this right today. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 0dba7481..5f5813da 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -387,9 +387,10 @@ rdf_install install_rdf install_rdoff:
for f in $(RDFPROGS); do \
$(INSTALL_PROGRAM) "$$f" '$(INSTALLROOT)$(bindir)'/ ; \
done
+ cd '$(INSTALLROOT)$(bindir)' && \
for f in $(RDF2BINLINKS); do \
- $(RM_F) '$(INSTALLROOT)$(bindir)'/`basename "$$f"` ; \
- $(LN_S) rdf2bin$(X) `basename "$$f"`;
+ bn=`basename "$$f"` && $(RM_F) "$$bn" && \
+ $(LN_S) rdf2bin$(X) "$$bn" ; \
done
$(MKDIR) -p $(INSTALLROOT)$(mandir)/man1
$(INSTALL_DATA) $(srcdir)/rdoff/*.1 $(INSTALLROOT)$(mandir)/man1/