Commit c0da4d88 authored by 's avatar
Browse files

fix in mapi.conf installation

git-svn-id: file:///home/svn/mapi/trunk@817 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 369c31db
......@@ -3,17 +3,16 @@ conf_DATA = mapi.conf
# override the default conf install to check for mapi.conf overwrite
install-confDATA: $(conf_DATA)
test -z "$(confdir)" || mkdir -p "$(DESTDIR)$(confdir)"
@test -z "$(confdir)" || mkdir -p "$(DESTDIR)$(confdir)"
@list='$(conf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -e "$(DESTDIR)$(confdir)/$$p"; then \
if test -f $$p; then \
if test -e "$(DESTDIR)$(confdir)/$$p"; then \
echo -e "\nConfig file $$p already exists in $(DESTDIR)$(confdir) - not overwriting...\n"; \
else \
f=$(am__strip_dir) \
echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f'"; \
$(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f"; \
fi \
else \
echo " $(INSTALL) -m 644 $$p $(DESTDIR)$(confdir)/$$f"; \
$(INSTALL) -m 644 $$p $(DESTDIR)$(confdir)/$$f; \
fi \
fi \
# ssl stuff
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment