]> granicus.if.org Git - icinga2/commitdiff
Build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 27 Sep 2013 08:51:21 +0000 (10:51 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 27 Sep 2013 08:51:21 +0000 (10:51 +0200)
etc/icinga2/conf.d/Makefile.am
etc/icinga2/mods-available/Makefile.am

index 46a37b0b2ebceb4073131118fdeb9676befb2fb5..15d266e748e80950ba39b70eca4ad3f163003c9a 100644 (file)
@@ -7,7 +7,8 @@ CONFIG_FILES = \
        macros.conf
 
 install-data-local:
-       @for file in $(CONFIG_FILES); do \
+       @$(MKDIR_P) $(icinga2confdir); \
+       for file in $(CONFIG_FILES); do \
        if [ ! -e $(icinga2confdir)/$$file ]; then \
          $(INSTALL_DATA) $$file $(icinga2confdir)/$$file; \
        fi; \
index 7051316dddaa4c340e1dfead0914fb9def60b941..b39bc033ef008395e2dd214cb50028a50bcac82a 100644 (file)
@@ -8,7 +8,8 @@ CONFIG_FILES = \
        compat.conf
 
 install-data-local:
-       @for file in $(CONFIG_FILES); do \
+       @$(MKDIR_P) $(icinga2confdir); \
+       for file in $(CONFIG_FILES); do \
        if [ ! -e $(icinga2confdir)/$$file ]; then \
          $(INSTALL_DATA) $$file $(icinga2confdir)/$$file; \
        fi; \