[icinga-checkins] icinga.org: icinga-core/test/core: create objects dir if not yet created on idoutils install

git at icinga.org git at icinga.org
Wed Nov 9 16:38:58 CET 2011


Module: icinga-core
Branch: test/core
Commit: baca064194ba279b62b377388905e45ac2cb1914
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=baca064194ba279b62b377388905e45ac2cb1914

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Nov  7 09:55:24 2011 +0100

create objects dir if not yet created on idoutils install

---

 module/idoutils/Makefile.in |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/module/idoutils/Makefile.in b/module/idoutils/Makefile.in
index 59d2292..3d8d66b 100644
--- a/module/idoutils/Makefile.in
+++ b/module/idoutils/Makefile.in
@@ -44,9 +44,10 @@ install-idoutils: install
 install: 
 	cd $(SRC_BASE) && $(MAKE) $@
 	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
+	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
 	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/modules
-	$(INSTALL) -m 664 $(INSTALL_OPTS) config/ido2db.cfg-sample $(DESTDIR)$(CFGDIR)
-	$(INSTALL) -m 664 $(INSTALL_OPTS) config/idomod.cfg-sample $(DESTDIR)$(CFGDIR)
-	$(INSTALL) -m 664 $(INSTALL_OPTS) config/idoutils.cfg-sample $(DESTDIR)$(CFGDIR)/modules
+	$(INSTALL) -b -m 664 $(INSTALL_OPTS) config/ido2db.cfg-sample $(DESTDIR)$(CFGDIR)
+	$(INSTALL) -b -m 664 $(INSTALL_OPTS) config/idomod.cfg-sample $(DESTDIR)$(CFGDIR)
+	$(INSTALL) -b -m 664 $(INSTALL_OPTS) config/idoutils.cfg-sample $(DESTDIR)$(CFGDIR)/modules
 	$(INSTALL) -b -m 664 $(INSTALL_OPTS) config/ido2db_check_proc.cfg $(DESTDIR)$(CFGDIR)/objects/ido2db_check_proc.cfg
 





More information about the icinga-checkins mailing list