[gnome-chess] Make use of $pkgdatadir in Makefile.am



commit c280b1161f8f345b3ebd892bf272fed0273234b7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Aug 13 21:10:07 2013 -0500

    Make use of $pkgdatadir in Makefile.am
    
    No functional change; this expands to $datadir/gnome-chess

 data/Makefile.am |    2 +-
 src/Makefile.am  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 9067ef1..fe8233c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,7 +5,7 @@ desktop_in_files = glchess.desktop.in.in
 desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
-uidir = $(datadir)/gnome-chess
+uidir = $(pkgdatadir)
 ui_DATA = \
        gnome-chess.ui \
        preferences.ui \
diff --git a/src/Makefile.am b/src/Makefile.am
index f675ec6..b7e8a3f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,7 +51,7 @@ test_chess_pgn_VALAFLAGS = \
 gnome_chess_CFLAGS = \
        -DVERSION=\"$(VERSION)\" \
        -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-       -DPKGDATADIR=\"$(datadir)/gnome-chess\" \
+       -DPKGDATADIR=\"$(pkgdatadir)/\" \
        -DLOCALEDIR=\"$(localedir)\" \
        -DSYSCONFDIR=\"$(sysconfdir)\" \
        $(GNOME_CHESS_CFLAGS)


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