I'm trying to debug a problem for a user, and I believe I have isolted it
to the fragment of a Makefile reproduced below.  Is it possible that
this behaves differently under zsh and bash?  (I don't know my shell
scripting very well...) I wondered if the test -f could be the culprit.

  THanks,
  Dave

install-aclocalDATA: $(aclocal_DATA)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(aclocaldir)
        @list='$(aclocal_DATA)'; for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f="`echo $$p | sed -e 's|^.*/||'`"; \
          echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(aclocaldir)/$$f"; \
          $(INSTALL_DATA) $$d$$p $(DESTDIR)$(aclocaldir)/$$f; \
        done

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to