[Orca-checkins] r385 - in trunk/orca/data_gatherers: aix hp orca_services orcallator procallator winallator

Blair Zajac blair at orcaware.com
Thu Aug 26 21:57:43 PDT 2004


Author: blair
Date: Thu Aug 26 21:55:44 2004
New Revision: 385

Modified:
   trunk/orca/data_gatherers/aix/Makefile.in
   trunk/orca/data_gatherers/hp/Makefile.in
   trunk/orca/data_gatherers/orca_services/Makefile.in
   trunk/orca/data_gatherers/orcallator/Makefile.in
   trunk/orca/data_gatherers/procallator/Makefile.in
   trunk/orca/data_gatherers/winallator/Makefile.in
Log:
* data_gatherers/aix/Makefile.in (install),
* data_gatherers/hp/Makefile.in (install),
* data_gatherers/orcallator/Makefile.in (install)
* data_gatherers/orca_services/Makefile.in (install),
* data_gatherers/procallator/Makefile.in (install),
* data_gatherers/winallator/Makefile.in (install):
  When testing if BIN_TARGETS or LIBEXEC_TARGETS are empty, when the
  variable should be empty because the both BIN_PERL_SCRIPTS and
  BIN_SHELL_SCRIPTS or LIBEXEC_PERL_SCRIPTS and LIBEXEC_SHELL_SCRIPTS
  are empty, then BIN_TARGETS or LIBEXEC_TARGETS will not be empty
  because they are set by the concatenation of two variables on two
  lines continued with a \.  The work around is to pass BIN_TARGETS or
  LIBEXEC_TARGETS to echo which will not print whitespace and test
  echo's output, which will be empty.


Modified: trunk/orca/data_gatherers/aix/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/aix/Makefile.in	(original)
+++ trunk/orca/data_gatherers/aix/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -35,7 +35,7 @@
 
 install: all
 	$(MKDIR) $(bindir)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \

Modified: trunk/orca/data_gatherers/hp/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/hp/Makefile.in	(original)
+++ trunk/orca/data_gatherers/hp/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -35,7 +35,7 @@
 
 install: all
 	$(MKDIR) $(bindir)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \

Modified: trunk/orca/data_gatherers/orca_services/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/orca_services/Makefile.in	(original)
+++ trunk/orca/data_gatherers/orca_services/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -47,13 +47,13 @@
 	$(MKDIR) $(sysconfdir)
 	$(MKDIR) $(RAW_ORCA_SERVICES_DIR)
 	$(MKDIR) $(RRD_ORCA_SERVICES_DIR)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \
 	  done; \
 	fi
-	@if test "$(LIBEXEC_TARGETS)"; then \
+	@if test "`echo $(LIBEXEC_TARGETS)`"; then \
 	  for file in $(LIBEXEC_TARGETS); do \
 	    echo $(INSTALL) $$file $(libexecdir); \
 	    $(INSTALL) $$file $(libexecdir); \

Modified: trunk/orca/data_gatherers/orcallator/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/orcallator/Makefile.in	(original)
+++ trunk/orca/data_gatherers/orcallator/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -48,7 +48,7 @@
 	$(MKDIR) $(sysconfdir)
 	$(MKDIR) $(RAW_ORCALLATOR_DIR)
 	$(MKDIR) $(RRD_ORCALLATOR_DIR)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \

Modified: trunk/orca/data_gatherers/procallator/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/procallator/Makefile.in	(original)
+++ trunk/orca/data_gatherers/procallator/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -44,7 +44,7 @@
 	$(MKDIR) $(bindir)
 	$(MKDIR) $(RAW_PROCALLATOR_DIR)
 	$(MKDIR) $(RRD_PROCALLATOR_DIR)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \

Modified: trunk/orca/data_gatherers/winallator/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/winallator/Makefile.in	(original)
+++ trunk/orca/data_gatherers/winallator/Makefile.in	Thu Aug 26 21:55:44 2004
@@ -42,7 +42,7 @@
 	$(MKDIR) $(sysconfdir)
 	$(MKDIR) $(RAW_WINALLATOR_DIR)
 	$(MKDIR) $(RRD_WINALLATOR_DIR)
-	@if test "$(BIN_TARGETS)"; then \
+	@if test "`echo $(BIN_TARGETS)`"; then \
 	  for file in $(BIN_TARGETS); do \
 	    echo $(INSTALL) $$file $(bindir); \
 	    $(INSTALL) $$file $(bindir); \



More information about the Orca-checkins mailing list