Le samedi 14 mars 2009 à 18:00 +0100, Sever P A a écrit :> Hello,> > I'm starting with The Autotools.> > After Googling & reading some online documentation I don't reach to> understand how manage "the data files". I mean... My application (that> links gtk+ libraries...) uses some PNG image files but I don't know> how integrate them in the mechanism of the autotools.> > * Maybe the PNG files (as data files) must be in an specific directory> in the project...> > * Maybe there are an specific instructions either in "configure.ac" or> in "Makefile.am"... In your Makefile.am, add dist_pkgdatadir_DATA = foo.png bar.png Your PNGs will be installed in $(datadir)/$(PACKAGE) You can customize the installation directory pngdir = $(datadir)/$(PACKAGE)/imgdist_pngdir_DATA = foo.png bar.png Please read automake manual: http://www.gnu.org/software/automake/manual/html_node/Data.html#Datahttp://www.gnu.org/software/automake/manual/html_node/Install.html#Installhttp://www.gnu.org/software/automake/manual/html_node/Uniform.html#Uniformhttp://www.gnu.org/software/automake/manual/standards/Directory-Variables.html#Directory-Variables Regards -- Yann Droneaud _______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list