autoconf
[Top][All Lists]
Advanced

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

Re: installing glade3 interface file with autotools


From: Mick
Subject: Re: installing glade3 interface file with autotools
Date: Mon, 24 Aug 2009 12:48:16 +1000

On Mon, 17 Aug 2009 10:09:31 -0600
John Calcote <address@hidden> wrote:

> Hi Mick,
> 
> Your Automake syntax is correct, if you're trying to install a 
> pre-existing data file called nuchimp.xml into the /usr/local/share 
> (default $(datadir)) directory. The error you're getting indicates
> that make can't fine the file nuchimp.xml. Are you sure it exists in
> the same directory as the Makefile.am file you've shown? That's where
> it should be without a relative path prefix.
> 
> Regards,
> John
> 
> On 8/17/2009 1:22 AM, Mick wrote:
> > I'm trying to rebuild my application using the current(ish) glade
> > and autoconf/automake and have been having a nightmare trying to
> > get the XML file created from glade by:
> > gtk-builder-convert nuchimp.glade nuchimp.xml
> >
> > After reading various documents I have the following Makefile.am:
> > bin_PROGRAMS = nuchimp
> >
> > nuchimp_SOURCES = \
> >     callback.c callback.h \
> >     chimp.c chimp.h \
> >     main.c main.h \
> >     parsecfg.c parsecfg.h
> >
> > xmldir = $(datadir)
> > xml_DATA = nuchimp.xml
> >
> > AM_CPPFLAGS = $(GTK_CFLAGS)
> > AM_LDFLAGS = $(GTK_LIBS) -export-dynamic
> >
solved the problem by this change:
xmldir = $(pkgdatadir)
xml_DATA = nuchimp.xml

don't ask my why it worked but anyway I'm now on to the next challenge

many thanks,
Mik




reply via email to

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