Not sure if this is correct behavior but the commented code just before the
done statement in this Makefile segment below causes an unexpected end of
line error. Don't be alarmed that this code has spaces not tabs. Rest
assure that the real code has tabs.
install-final:
-@temp=/tmp/$(FILE) ;\
hosts="$(HOSTS)" ;\
for i in $$hosts ;\
do \
host="$$i" ;\
if [ "$$host" = "moose" ]; then \
rcp="su bin -c \"rcp" ;\
close=\" ;\
else \
rcp=rcp ; close="" ;\
fi ;\
cat header > $$temp 2>/dev/null ;\
cat $$host >> $$temp 2>/dev/null ;\
cat $(FILE) >> $$temp 2>/dev/null ;\
if [ $$host = "mink" -o $$host = "moose" ]; then \
ypcat -k $(FILE) >> $$temp ;\
else \
echo +$(FILE) >> $$temp ;\
fi ;\
echo $$rcp $$temp $$host:$(DESTDIR)/$(FILE) $$close | sh -x
;\
# chmod $(MODE) $(DESTDIR)/$(FILE) ;\
done
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make