From 1c91ed23818ecbd0fbaf34b43ca400ec0fda357e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 23 Mar 2000 23:04:48 +0000 Subject: [PATCH] fix the incorrect $i and -ne :/. propogate the list fix to the other makefiles --- common/Makefile.in | 2 +- qw_client/Makefile.in | 8 +++++--- qw_server/Makefile.in | 8 +++++--- uquake/Makefile.in | 8 +++++--- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/common/Makefile.in b/common/Makefile.in index ea3aa7a..bd95e88 100644 --- a/common/Makefile.in +++ b/common/Makefile.in @@ -108,7 +108,7 @@ clean: $(CLEAN_TARGETS) install: $(targets) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir) for i in x-dummy $(targets); do \ - if test "$i" -ne x-dummy; then \ + if test "$$i" != x-dummy; then \ $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ $(DESTDIR)/$(bindir)/$$i; \ fi \ diff --git a/qw_client/Makefile.in b/qw_client/Makefile.in index ba99f41..f9d9cd8 100644 --- a/qw_client/Makefile.in +++ b/qw_client/Makefile.in @@ -385,9 +385,11 @@ clean: $(CLEAN_TARGETS) install: $(targets) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir) - for i in $(targets); do \ - $(PROJECT_DIR)/install-sh -m 755 $(TARGET_DIR)/$$i \ - $(DESTDIR)/$(bindir)/$$i; \ + for i in x-dummy $(targets); do \ + if test "$$i" != x-dummy; then \ + $(PROJECT_DIR)/install-sh -m 755 $(TARGET_DIR)/$$i \ + $(DESTDIR)/$(bindir)/$$i; \ + fi \ done check: diff --git a/qw_server/Makefile.in b/qw_server/Makefile.in index 8c92565..ebf981c 100644 --- a/qw_server/Makefile.in +++ b/qw_server/Makefile.in @@ -102,9 +102,11 @@ clean: clean-qw-server install: $(targets) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir) - for i in $(targets); do \ - $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ - $(DESTDIR)/$(bindir)/$$i; \ + for i in x-dummy $(targets); do \ + if test "$$i" != x-dummy; then \ + $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ + $(DESTDIR)/$(bindir)/$$i; \ + fi \ done check: diff --git a/uquake/Makefile.in b/uquake/Makefile.in index fbff926..2d6ab5a 100644 --- a/uquake/Makefile.in +++ b/uquake/Makefile.in @@ -415,9 +415,11 @@ clean: $(CLEAN_TARGETS) install: $(targets) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir) - for i in $(targets); do \ - $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ - $(DESTDIR)/$(bindir)/$$i; \ + for i in x-dummy $(targets); do \ + if test "$$i" != x-dummy; then \ + $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ + $(DESTDIR)/$(bindir)/$$i; \ + fi \ done check: