Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
c0da4d88
Commit
c0da4d88
authored
Aug 25, 2006
by
Browse files
fix in mapi.conf installation
git-svn-id:
file:///home/svn/mapi/trunk@817
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
369c31db
Changes
1
Hide whitespace changes
Inline
Side-by-side
etc/Makefile.am
View file @
c0da4d88
...
@@ -3,17 +3,16 @@ conf_DATA = mapi.conf
...
@@ -3,17 +3,16 @@ conf_DATA = mapi.conf
# override the default conf install to check for mapi.conf overwrite
# override the default conf install to check for mapi.conf overwrite
install-confDATA
:
$(conf_DATA)
install-confDATA
:
$(conf_DATA)
@
$(NORMAL_INSTALL)
@
test
-z
"
$(confdir)
"
||
mkdir
-p
"
$(DESTDIR)$(confdir)
"
test
-z
"
$(confdir)
"
||
mkdir
-p
"
$(DESTDIR)$(confdir)
"
@
list
=
'
$(conf_DATA)
'
;
for
p
in
$$
list
;
do
\
@
list
=
'
$(conf_DATA)
'
;
for
p
in
$$
list
;
do
\
if
test
-f
"
$$
p
"
;
then
d
=
;
else
d
=
"
$(srcdir)
/"
;
fi
;
\
if
test
-f
$$
p
;
then
\
if
test
-e
"
$(DESTDIR)$(confdir)
/
$$
p"
;
then
\
if
test
-e
"
$(DESTDIR)$(confdir)
/
$$
p"
;
then
\
echo
-e
"
\n
Config file
$$
p already exists in
$(DESTDIR)$(confdir)
- not overwriting...
\n
"
;
\
echo
-e
"
\n
Config file
$$
p already exists in
$(DESTDIR)$(confdir)
- not overwriting...
\n
"
;
\
else
\
else
\
f
=
$(am__strip_dir)
\
echo
"
$(INSTALL)
-m 644
$$
p
$(DESTDIR)$(confdir)
/
$$
f"
;
\
echo
"
$(confDATA_INSTALL)
'
$$
d
$$
p' '
$(DESTDIR)$(confdir)
/
$$
f
'"
;
\
$(INSTALL)
-m
644
$$
p
$(DESTDIR)$(confdir)
/
$$
f
;
\
$(confDATA_INSTALL)
"
$$
d
$$
p"
"
$(DESTDIR)$(confdir)
/
$$
f"
;
\
fi
\
fi
\
fi
\
done
done
# ssl stuff
# ssl stuff
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment