* clean up logic for case sensitive filesystems so that mpicc isn't accidently
deleted on "make install" on HFS+ This commit was SVN r2196.
Этот коммит содержится в:
родитель
78ae32338a
Коммит
59881ef1f4
@ -115,23 +115,24 @@ uninstall-local:
|
|||||||
$(DESTDIR)$(bindir)/hcp \
|
$(DESTDIR)$(bindir)/hcp \
|
||||||
$(DESTDIR)$(bindir)/hf77
|
$(DESTDIR)$(bindir)/hf77
|
||||||
endif
|
endif
|
||||||
#
|
|
||||||
# Adding this to make sure that make install does not fail.
|
|
||||||
# install-exec-hook needs to be defined or else make install
|
|
||||||
# fails quoting that there is not target called
|
|
||||||
# install-exec-hook if WANT_DEPRECATED_EXECUTABLE_NAMES is
|
|
||||||
# false.
|
|
||||||
else
|
else
|
||||||
|
#
|
||||||
|
# If we don't have deprecated names, just do the mpiCC / mpic++ stuff.
|
||||||
|
# If we are on a non-case sensitive file system, don't do anything
|
||||||
|
# with mpiCC, since that is the same as mpicc, and there is no way
|
||||||
|
# that can end good.
|
||||||
|
#
|
||||||
if CASE_SENSITIVE_FS
|
if CASE_SENSITIVE_FS
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
(cd $(DESTDIR)$(bindir); rm -f mpiCC; ln -s mpic++ mpiCC)
|
(cd $(DESTDIR)$(bindir); rm -f mpiCC; ln -s mpic++ mpiCC)
|
||||||
else
|
else
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
rm -f $(DESTDIR)$(bindir)/mpiCC
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CASE_SENSITIVE_FS
|
if CASE_SENSITIVE_FS
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
|
rm -f $(DESTDIR)$(bindir)/mpiCC
|
||||||
else
|
else
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
endif
|
endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user