Fix VPATH builds.

This commit is contained in:
Gunnar Beutner 2013-09-27 11:20:33 +02:00
parent 2d3e639fac
commit 6b98d34e70
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ CONFIG_FILES = \
install-data-local: install-data-local:
@for file in $(CONFIG_FILES); do \ @for file in $(CONFIG_FILES); do \
if [ ! -e $(icinga2confdir)/$$file ]; then \ if [ ! -e $(icinga2confdir)/$$file ]; then \
$(INSTALL_DATA) $$file $(icinga2confdir)/$$file; \ $(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
fi; \ fi; \
done done

View File

@ -10,7 +10,7 @@ install-data-local:
@$(MKDIR_P) $(icinga2confdir); \ @$(MKDIR_P) $(icinga2confdir); \
for file in $(CONFIG_FILES); do \ for file in $(CONFIG_FILES); do \
if [ ! -e $(icinga2confdir)/$$file ]; then \ if [ ! -e $(icinga2confdir)/$$file ]; then \
$(INSTALL_DATA) $$file $(icinga2confdir)/$$file; \ $(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
fi; \ fi; \
done done

View File

@ -9,7 +9,7 @@ install-data-local:
@$(MKDIR_P) $(icinga2confdir); \ @$(MKDIR_P) $(icinga2confdir); \
for file in $(CONFIG_FILES); do \ for file in $(CONFIG_FILES); do \
if [ ! -e $(icinga2confdir)/$$file ]; then \ if [ ! -e $(icinga2confdir)/$$file ]; then \
$(INSTALL_DATA) $$file $(icinga2confdir)/$$file; \ $(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
fi; \ fi; \
done done