--- Makefile.am.orig 2013-07-25 16:53:18.726563373 +0200 +++ Makefile.am 2013-07-25 16:56:08.687492289 +0200 @@ -27,7 +27,7 @@ AM_CPPFLAGS += @PYTHON_INCLUDES@ endif -AM_CPPFLAGS += -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' +AM_CPPFLAGS += -DAC_DOCDIR='"$(docdir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' OTHER_LIBS = if WIN32 --- doc/Makefile.am.orig 2013-07-25 16:57:09.270821442 +0200 +++ doc/Makefile.am 2013-07-25 17:00:11.901814264 +0200 @@ -1,6 +1,6 @@ -AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' -gnubg_helpdir = $(datadir)/doc/gnubg/ -gnubg_imagedir = $(datadir)/doc/gnubg/images +AM_CPPFLAGS = -DAC_DOCDIR='"$(docdir)"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' +gnubg_helpdir = $(docdir) +gnubg_imagedir = $(docdir)/images gnubg_help_DATA = gnubg.html allabout.html gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \ images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \