Hi,

My project (http://siphon.sourceforge.net) is using glade, but we are having 
difficulties getting the right makefile magic to handle the .glade file. 
That is, we store the .glade file in our CVS, and whenever needed we 
regenerate the files from the .glade. The problem is that because it contain 
actual code written by us (i.e. not glade-generated only), we also have to 
store callbacks.c in the CVS repository. I don't really remember why, but we 
are also storing callbacks.h. Now, whenever the glade file has changed, the 
casllbacks file (.c & .h) gets regeneraeted, but alas I always end up with 
duplicate definitions (in .c) and prototypes (.h) of the newer callbacks.

I tried all sort of tricks but I am not a makefile magician, so I ask, does 
anybody have an idea what are the magical makefile lines (or Makefile.am for 
that matter) to enable regenerating files from .glade file without getting 
into problems. This must be in conjonction with the .glade & callbacks.[ch] 
files being stored & retrieved from a CVS repository.

Our not so good working makefile can be seen at:
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/src/siphon/gui/gtk/Makefile.am?cvsroot=siphon

Thanks,


Mathieu
(not on list, please cc)
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to