Remove the sym links before we try to create them, otherwise if you
run "make install" twice in a row (or some other variant), you'll get an error. This commit was SVN r8990.
Этот коммит содержится в:
родитель
913890f534
Коммит
e089f91a72
@ -266,8 +266,10 @@ DISTCLEANFILES = $(nodist_libmpi_f90_a_SOURCES)
|
|||||||
if OMPI_WANT_F90_BINDINGS
|
if OMPI_WANT_F90_BINDINGS
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
@ for file in `ls *.mod`; do \
|
@ for file in `ls *.mod`; do \
|
||||||
|
rm -f $$file $(DESTDIR)$(libdir); \
|
||||||
echo $(INSTALL) $$file $(DESTDIR)$(libdir); \
|
echo $(INSTALL) $$file $(DESTDIR)$(libdir); \
|
||||||
$(INSTALL) $$file $(DESTDIR)$(libdir); \
|
$(INSTALL) $$file $(DESTDIR)$(libdir); \
|
||||||
|
rm -f $(DESTDIR)$(includedir)/$$file ; \
|
||||||
echo $(LN_S) $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(includedir)/$$file ; \
|
echo $(LN_S) $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(includedir)/$$file ; \
|
||||||
$(LN_S) $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(includedir)/$$file ; \
|
$(LN_S) $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(includedir)/$$file ; \
|
||||||
done
|
done
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user