af6c0740c7
Changes since 1.0.7: - Added support for MPI 2.1 - Added support for MPI_Type_create_resized and MPI_Type_create_indexed_block datatypes in ROMIO. - Bug fixes, memory leak fixes and code cleanup.
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
$NetBSD: patch-ac,v 1.6 2008/12/21 11:41:01 obache Exp $
|
|
|
|
Install sample configuration files in example directory.
|
|
|
|
--- src/mpe2/sbin/mpeinstall.in.orig 2008-10-24 20:56:05.000000000 +0400
|
|
+++ src/mpe2/sbin/mpeinstall.in 2008-12-20 18:17:51.000000000 +0300
|
|
@@ -40,13 +40,15 @@
|
|
mandir=@mandir@
|
|
# Since autoconf < 2.60 does not set docdir and htmldir,
|
|
# check if they are set. If not, set them accordingly.
|
|
-if [ "$docdir" = "@docdir@" ] ; then
|
|
- docdir=${datadir}/doc/${PACKAGE}
|
|
+if [ "$docdir" = "@docdir@" ] ; then # don't override what we set.
|
|
+# docdir=${datadir}/doc/${PACKAGE}
|
|
fi
|
|
-if [ "$htmldir" = "@htmldir@" ] ; then
|
|
- htmldir=${docdir}
|
|
+if [ "$htmldir" = "@htmldir@" ] ; then # don't override what we set.
|
|
+# htmldir=${docdir}
|
|
fi
|
|
|
|
+exampledir=${datadir}/examples
|
|
+
|
|
# Assume PROF_LIBNAME=MPE_LIBNAME.
|
|
PROF_LIBNAME=@MPE_LIBNAME@
|
|
MPI_IMPL=@MPI_IMPL@
|
|
@@ -493,10 +495,10 @@
|
|
if [ -n "$etcbuild_dir" ] ; then
|
|
if [ -d $etcbuild_dir ] ; then
|
|
echo "Installing $pkgname configuration files to $DESTDIR$sysconfdir"
|
|
- InstallDirRecur $etcbuild_dir $sysconfdir $MODE
|
|
+ InstallDirRecur $etcbuild_dir $exampledir $MODE
|
|
cd $etcbuild_dir && \
|
|
for file in *.conf ; do \
|
|
- FixInstallFile $file $sysconfdir/$file ; \
|
|
+ FixInstallFile $file $exampledir/$file ; \
|
|
done
|
|
fi
|
|
fi
|