Simple Automake question


I need a bit of advice on how to define a constant in more than one Currently, I have

  pixmaps/    pixmapdir = $(datadir)/$(PACKAGE)/pixmaps
  src/        pixmapdir = $(datadir)/$(PACKAGE)/pixmaps            pixmapdir = $(datadir)/$(PACKAGE)/pixmaps

since the source needs to know where to find the pixmaps and the
pixmaps/Makefile needs to know where to install them. Naturally, I
would like to get rid of the first two definitions and only define the
path in the toplevel

It appears to be easy. But how?

Ole Laursen

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