fix the incorrect $i and -ne :/.

propogate the list fix to the other makefiles
This commit is contained in:
Bill Currie 2000-03-23 23:04:48 +00:00
parent 8101db3629
commit 1c91ed2381
4 changed files with 16 additions and 10 deletions

View file

@ -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 \

View file

@ -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:

View file

@ -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:

View file

@ -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: