trans-coord-devel
[Top][All Lists]
Advanced

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

Re: Error handling


From: Kaloian Doganov
Subject: Re: Error handling
Date: Thu, 13 Mar 2008 09:39:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gNewSense gnu/linux)

Yavor Doganov <address@hidden> writes:

    The proposed patch takes care with all of this, and I think we're
    done with this task.

It looks OK to me.

    -   -$(check-po)
    +   -PO=$$@ ; $(check-po)

Nice trick!  Can't we use it to encapsulate more repetitous commands
into variables?  For example:

    define generate-html
           $(PO4A-TRANSLATE) $(PO4A_XHTMLFLAGS) $(PO4A-TRANSLATEFLAGS) \
               --master $$< --po $$$$POFILE --localized $$$$M4FILE
          ...
    endef

and then call it like this:

    POFILE=$(rootdir)/po/home.$(1).po \
        M4FILE=$(rootdir)/po/home.$(1).m4 \
        $(generate-html)





reply via email to

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