[Top][All Lists]

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

Re: I can do it in but not sure how to translate it to Makef

From: J.H.
Subject: Re: I can do it in but not sure how to translate it to
Date: Thu, 16 Nov 2006 14:45:57 -0800
User-agent: Thunderbird (X11/20060913)

Actually from my last e-mail it got me thinking concerning the outside program doing something to the make file - I found it and I seem to have fixed the problem. There's a perl script that gets run just after automake is finished that generated the line I was worried about. I've been able to modify what I needed. Sorry about that, thought it might have been a misunderstanding on my part about automake.

- John

J.H. wrote:
Ralf Wildenhues wrote:
Hello John,

* J.H. wrote on Thu, Nov 16, 2006 at 03:32:14AM CET:
kcookieserver_skel.cpp: kcookieserver.kidl
$(DCOPIDL2CPP) --c++-suffix cpp --no-signals --no-stub kcookieserver.kidl

While this works great in the, when gets rebuilt from this gets hosed.

I don't understand the question.  If you add that code to,
it will be copied to exactly by automake.  What gets hosed?
Maybe there's merely a typo (note only one of the rule lines starts with
a TAB)?

The problem stems from the fact that the rule that gets written to create kcookieserver_skel.cpp seems to be done automatically, and it doesn't directly come from the In fact the entire is:

INCLUDES = -I$(srcdir)/../../../../dropin -I$(srcdir)/../../../../dropin/kio \
           -I$(srcdir)/../../../kdecore \
           $(QTOPIA_INCLUDES) $(all_includes)


libkcookiejar_la_SOURCES = kcookiejar.cpp kcookieserver.cpp \
                           kcookieserver.skel kcookiewin.cpp
libkcookiejar_la_METASOURCES = AUTO

KDE_OPTIONS = qtonly

I've tried adding the exact make rule that I want to the, it includes it just fine, but the rest of the makefile doesn't seem to build (so it's possible there is something going on outside of automake but I haven't found anything yet) My entire goal is just to get `foobar` to be executed sometime after kcookieserver_skel.cpp is created but before it compiles. I've been reading through the automake documentation and looking through the source code to try and figure out where the rules are getting built from but no luck so far.

Any help would definitely be appreciated.

- John

reply via email to

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