summaryrefslogtreecommitdiff
blob: 089d23597cde3b7100d77dde2f6103048509ddd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
diff -ru gnubg.orig/Makefile.am gnubg/Makefile.am
--- gnubg.orig/Makefile.am	2009-08-08 22:30:04.000000000 -0400
+++ gnubg/Makefile.am	2009-08-20 02:13:01.696689411 -0400
@@ -2,9 +2,9 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
+AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
 
-SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags fonts non-src pixmaps .
+SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags non-src pixmaps .
 
 bin_PROGRAMS = gnubg makebearoff makehyper bearoffdump makeweights
 
diff -ru gnubg.orig/doc/Makefile.am gnubg/doc/Makefile.am
--- gnubg.orig/doc/Makefile.am	2009-08-08 22:30:05.000000000 -0400
+++ gnubg/doc/Makefile.am	2009-08-20 02:10:53.969939597 -0400
@@ -1,6 +1,6 @@
-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
-gnubg_helpdir = $(datadir)/doc/gnubg/
-gnubg_imagedir = $(datadir)/doc/gnubg/images
+AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(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 \
diff -ru gnubg.orig/pixmaps/Makefile.am gnubg/pixmaps/Makefile.am
--- gnubg.orig/pixmaps/Makefile.am	2008-12-08 22:30:08.000000000 -0500
+++ gnubg/pixmaps/Makefile.am	2009-08-20 02:12:00.050689327 -0400
@@ -1,5 +1,5 @@
-gnubgiconsdir = $(datadir)
-gnubgpixmapsdir = $(pkgdatadir)/pixmaps
+gnubgiconsdir = /usr/share
+gnubgpixmapsdir = /usr/share/pixmaps
 
 ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg
 ICONS_16 = icons/hicolor/16x16/apps/gnubg.png
diff -ru gnubg.orig/po/Makefile.in.in gnubg/po/Makefile.in.in
--- gnubg.orig/po/Makefile.in.in	2008-09-29 22:30:08.000000000 -0400
+++ gnubg/po/Makefile.in.in	2009-08-20 02:09:51.838814286 -0400
@@ -28,8 +28,8 @@
 datarootdir = @datarootdir@
 datadir = @datadir@
 libdir = @libdir@
-localedir = $(libdir)/locale
-gnulocaledir = $(datadir)/locale
+localedir = @localedir@
+gnulocaledir = @localedir@
 gettextsrcdir = $(datadir)/glib-2.0/gettext/po
 subdir = po