1
1

Ensure that we install the ompi_config.h file with 0644 perms, not

influenced by the user's default umask

This commit was SVN r1794.
Этот коммит содержится в:
Jeff Squyres 2004-07-22 14:51:53 +00:00
родитель c45ea2c6a5
Коммит a061f0f19d

@ -1,4 +1,3 @@
# -*- makefile -*-
#
# $HEADER$
#
@ -22,5 +21,7 @@ install-data-hook:
sed -e 's/define PACKAGE/define OMPI_MPI_PACKAGE/' \
$(DESTDIR)$(includedir)/ompi_config.h \
> $(DESTDIR)$(includedir)/ompi_config.h.install
mv $(DESTDIR)$(includedir)/ompi_config.h.install \
$(CP) $(DESTDIR)$(includedir)/ompi_config.h.install \
$(DESTDIR)$(includedir)/ompi_config.h
$(RM) -f $(DESTDIR)$(includedir)/ompi_config.h.install
chmod 0644 $(DESTDIR)$(includedir)/ompi_config.h