emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buildobj.lst and Windows builds - a tiny bit of help needed?


From: Ken Raeburn
Subject: Re: buildobj.lst and Windows builds - a tiny bit of help needed?
Date: Wed, 26 Aug 2009 03:08:39 -0400

On Aug 24, 2009, at 14:22, Eli Zaretskii wrote:
The first and the last lines still don't work, because `echo' retains
the quotes, but still disables the special meaning of > and >> inside
quotes, and so redirection doesn't work.  I see no choice but to use
`^' to escape the quotes:

Ah, another bit of CMD syntax I wasn't familiar with.  Thanks!

$(SRC)/buildobj.h: Makefile
        echo #define BUILDOBJ ^"\  > $(SRC)/buildobj.h
        echo $(OBJ0)           \ >> $(SRC)/buildobj.h
        echo $(OBJ1)           \ >> $(SRC)/buildobj.h
        echo $(WIN32OBJ)       \ >> $(SRC)/buildobj.h
        echo $(FONTOBJ)        \ >> $(SRC)/buildobj.h
        echo ^"                  >> $(SRC)/buildobj.h

This looks like just what I need, thanks. With this, I think I can make the CANNOT_DUMP build cleanly load its documentation, without breaking the Windows build.

Ken




reply via email to

[Prev in Thread] Current Thread [Next in Thread]