Hi Jamil, On 14.03.2015 17:10, Jamil Egdemir wrote:
> # make install Assume that most users only have the files installed that "make install" copied. Thus, you need to install the bitmap to an appropriate directory, e.g. pkgdatadir: pkgdatadir = $(datadir)/$(PACKAGE) pkgdata_DATA = stargate.bmp Your program should use the full path to refer to this file. A common way to do that is to create a preprocessor macro containing the path: DEFINES = -Dpkgdatadir=\"$(pkgdatadir)\" This cannot be moved to config.h, because these variables are designed to be overridden in the Makefile. In addition, your package should handle the missing file gracefully. Simon
signature.asc
Description: OpenPGP digital signature