(install-common): Install EXTRA_PARTS with INSTALL_DATA, not

INSTALL_PROGRAM.

From-SVN: r7147
This commit is contained in:
Richard Kenner 1994-04-25 13:02:35 -04:00
parent 4b8a006289
commit 2fe8d2d69a

View File

@ -1822,12 +1822,18 @@ install-common: native install-dir xgcc $(EXTRA_PARTS) lang.install-common
else true; \
fi; \
done
for file in $(EXTRA_PASSES) $(EXTRA_PARTS) $(EXTRA_PROGRAMS) $(USE_COLLECT2) ..; do \
for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(USE_COLLECT2) ..; do \
if [ x"$$file" != x.. ]; then \
rm -f $(libsubdir)/$$file; \
$(INSTALL_PROGRAM) $$file $(libsubdir)/$$file; \
else true; fi; \
done
for file in $(EXTRA_PARTS) ..; do \
if [ x"$$file" != x.. ]; then \
rm -f $(libsubdir)/$$file; \
$(INSTALL_DATA) $$file $(libsubdir)/$$file; \
else true; fi; \
done
# Don't mess with specs if it doesn't exist yet.
-if [ -f specs ] ; then \
rm -f $(libsubdir)/specs; \