blob: a8bcab1020ebd4ccaf5b8da784d4349cfda6fa12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-aj,v 1.2 2010/12/16 21:00:54 asau Exp $
Install configuration files into example directory.
--- opal/etc/Makefile.in.orig 2010-03-31 05:34:56.000000000 +0400
+++ opal/etc/Makefile.in 2010-03-31 20:54:20.000000000 +0400
@@ -35,6 +35,7 @@
#
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
+exampledir = $(pkgdatadir)/examples
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
@@ -1240,24 +1241,24 @@
# details why the mkdir is in install-data-local.
install-data-local:
- $(mkdir_p) $(DESTDIR)$(sysconfdir)
+ $(mkdir_p) $(DESTDIR)$(exampledir)
@ p="$(opal_config_files)"; \
if test "$(opal_file_from_platform)" = "yes"; then \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(exampledir)/openmpi-mca-params.conf"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(exampledir)/openmpi-mca-params.conf; \
else \
for file in $$p; do \
- if test -f $(DESTDIR)$(sysconfdir)/openmpi-mca-params.conf; then \
+ if test -f $(DESTDIR)$(exampledir)/openmpi-mca-params.conf; then \
echo "******************************* WARNING ************************************"; \
echo "*** Not installing new $$file over existing file in:"; \
- echo "*** $(DESTDIR)$(sysconfdir)/$$file"; \
+ echo "*** $(DESTDIR)$(exampledir)/$$file"; \
echo "******************************* WARNING ************************************"; \
else \
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$file | sed -e 's|^.*/||'`"; \
- echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f"; \
- $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
+ echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(exampledir)/$$f"; \
+ $(INSTALL_DATA) $$d$$file $(DESTDIR)$(exampledir)/$$f; \
fi; \
done \
fi;
|