Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: RE: No rules to make zsh.mdh



>$(dir_top)//zsh.mdh: FORCE
>        @cd $(dir_top)/ && $(MAKE) $(MAKEDEFS) zsh.mdh
>
> $(dir_top)/Src/zsh.mdh:
>        false # should only happen with make -n

This is slightly broken.  I can't reproduce this; I'd guess that
your Makefiles have got out of synch with the recent patches.
Do "./config.status --recheck; ./config.status; make prep" from the
top-level directory to get them all rebuilt.  Actually, you might need to
do a "rm **/*.mdh*" as well, if the incorrect pathnames have propagated
to the headers too.

>Note initial blank - is it correct? Is it portable?

It's correct in that I knew it could be there (actually it's always
there, exactly one space) and considred it insignificant.  However,
this patch will remove it, for neatness.

diff -cr ../zsh-/Src/mkmakemod.sh ./Src/mkmakemod.sh
*** ../zsh-/Src/mkmakemod.sh	Thu Dec 16 14:26:33 1999
--- ./Src/mkmakemod.sh	Mon Dec 20 10:01:58 1999
***************
*** 350,356 ****
  	    echo
  	done | sed 's,^\(.*\)@%@\(.*\)@%@\(.*\)/\([^/]*\)$,\1\3\2\4,'
  	if test -n "$other_mdhs"; then
! 	    echo "${other_mdhs}:"
  	    echo "	false # should only happen with make -n"
  	    echo
  	fi
--- 350,356 ----
  	    echo
  	done | sed 's,^\(.*\)@%@\(.*\)@%@\(.*\)/\([^/]*\)$,\1\3\2\4,'
  	if test -n "$other_mdhs"; then
! 	    echo "${other_mdhs}:" | sed 's,^ ,,'
  	    echo "	false # should only happen with make -n"
  	    echo
  	fi
***************
*** 360,366 ****
  	    echo
  	done | sed 's,^\(.*\)@%@\(.*\)@%@\(.*\)/\([^/]*\)$,\1\3\2\4,'
  	if test -n "$other_exports"; then
! 	    echo "${other_exports}:"
  	    echo "	false # should only happen with make -n"
  	    echo
  	fi
--- 360,366 ----
  	    echo
  	done | sed 's,^\(.*\)@%@\(.*\)@%@\(.*\)/\([^/]*\)$,\1\3\2\4,'
  	if test -n "$other_exports"; then
! 	    echo "${other_exports}:" | sed 's,^ ,,'
  	    echo "	false # should only happen with make -n"
  	    echo
  	fi
END



Messages sorted by: Reverse Date, Date, Thread, Author