I switched to tup 0.7.4, and the previously perfectly working build-script 
of mine is now broken. It's telling me:

tup error: %e is only valid with a foreach rule for files that have 
extensions.
 -- Path: 'src/main.c'

The line, where this is happening:

: foreach $(sources) |> !to_cpp |> $(BUILD_DIR)/cpp-out/%B.cpp.%e

where

!to_cpp 
=                                                                      \
    |> ^ CPP: %f => 
%o^                                                        \
        $(CC) $(CFLAGS) -Wno-unused-macros $(CPPPATH) -CC -E -P %f 
|           \
        grep -A 1 "." | grep -v "^--$" > 
%o                                    \
    |>

So.. umm.. what am I doing wrong here? I use a `foreach`; I have files 
which have extensions; and as I mentioned: it worked before :/
Any advice would be appreciated,

Cheers,

P

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to