diff -bruwN gnome-games/gnome-sudoku/Makefile.am gnome-games.new/gnome-sudoku/Makefile.am
--- gnome-games/gnome-sudoku/Makefile.am	Sat Oct 28 11:50:58 2006
+++ gnome-games.new/gnome-sudoku/Makefile.am	Tue Dec  5 00:41:19 2006
@@ -9,9 +9,3 @@
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 EXTRA_DIST = $(desktop_in_files)
 CLEANFILES = $(desktop_DATA)
-
-#################################################################
-
-## Executable
-bin_SCRIPTS = src/gnome-sudoku
-EXTRA_DIST += src/gnome-sudoku
diff -bruwN gnome-games/gnome-sudoku/src/Makefile.am gnome-games.new/gnome-sudoku/src/Makefile.am
--- gnome-games/gnome-sudoku/src/Makefile.am	Sat Oct 21 11:37:14 2006
+++ gnome-games.new/gnome-sudoku/src/Makefile.am	Tue Dec  5 00:56:46 2006
@@ -1 +1,11 @@
 SUBDIRS = lib
+
+#################################################################
+
+## Executable
+bin_SCRIPTS = gnome-sudoku
+EXTRA_DIST  = gnome-sudoku
+CLEANFILES  = gnome-sudoku
+
+gnome-sudoku: $(srcdir)/gnome-sudoku.in
+        $(SED) 's,\@datarootdir\@,$(datarootdir),g' $< > $@
diff -bruwN gnome-games/gnome-sudoku/src/gnome-sudoku gnome-games.new/gnome-sudoku/src/gnome-sudoku
--- gnome-games/gnome-sudoku/src/gnome-sudoku	Fri Oct 27 12:53:58 2006
+++ gnome-games.new/gnome-sudoku/src/gnome-sudoku	Wed Dec 31 16:00:00 1969
@@ -1,13 +0,0 @@
-#! /usr/bin/env python
-# Copyright (c) 2005 Tom Hinkle You may use and distribute this
-# software under the terms of the GNU General Public License, version
-# 2 or later
-
-try:
-    from gnome_sudoku.gnome_sudoku import start_game
-except ImportError:
-    import sys
-    sys.path.append('/usr/share/gnome-sudoku/')
-    from gnome_sudoku.gnome_sudoku import start_game
-
-start_game()
diff -bruwN gnome-games/gnome-sudoku/src/gnome-sudoku.in gnome-games.new/gnome-sudoku/src/gnome-sudoku.in
--- gnome-games/gnome-sudoku/src/gnome-sudoku.in	Wed Dec 31 16:00:00 1969
+++ gnome-games.new/gnome-sudoku/src/gnome-sudoku.in	Tue Dec  5 00:55:56 2006
@@ -0,0 +1,13 @@
+#! /usr/bin/env python
+# Copyright (c) 2005 Tom Hinkle You may use and distribute this
+# software under the terms of the GNU General Public License, version
+# 2 or later
+
+try:
+    from gnome_sudoku.gnome_sudoku import start_game
+except ImportError:
+    import sys
+    sys.path.append('@datarootdir@/gnome-sudoku/')
+    from gnome_sudoku.gnome_sudoku import start_game
+
+start_game()
diff -bruwN gnome-games/glchess/Makefile.am gnome-games.new/glchess/Makefile.am
--- gnome-games/glchess/Makefile.am	Sat Oct 28 11:50:58 2006
+++ gnome-games.new/glchess/Makefile.am	Tue Dec  5 00:26:30 2006
@@ -7,9 +7,3 @@
 CLEANFILES = $(desktop_DATA)
 
 @INTLTOOL_DESKTOP_RULE@
-
-#################################################################
-
-## Executable
-bin_SCRIPTS = src/glchess
-EXTRA_DIST += src/glchess
diff -bruwN gnome-games/glchess/src/Makefile.am gnome-games.new/glchess/src/Makefile.am
--- gnome-games/glchess/src/Makefile.am	Sat Oct 28 09:37:26 2006
+++ gnome-games.new/glchess/src/Makefile.am	Tue Dec  5 00:56:58 2006
@@ -1 +1,11 @@
 SUBDIRS = lib
+
+#################################################################
+
+## Executable
+bin_SCRIPTS = glchess
+EXTRA_DIST  = glchess
+CLEANFILES  = glchess
+
+glchess: $(srcdir)/glchess.in
+	$(SED) 's,\@datarootdir\@,$(datarootdir),g' $< > $@
diff -bruwN gnome-games/glchess/src/glchess gnome-games.new/glchess/src/glchess
--- gnome-games/glchess/src/glchess	Sat Oct 28 09:37:26 2006
+++ gnome-games.new/glchess/src/glchess	Wed Dec 31 16:00:00 1969
@@ -1,10 +0,0 @@
-#! /usr/bin/env python
-
-try:
-    from glchess.glchess import start_game
-except ImportError:
-    import sys
-    sys.path.append('/usr/share/glchess/')
-    from glchess.glchess import start_game
-
-start_game()
diff -bruwN gnome-games/glchess/src/glchess.in gnome-games.new/glchess/src/glchess.in
--- gnome-games/glchess/src/glchess.in	Wed Dec 31 16:00:00 1969
+++ gnome-games.new/glchess/src/glchess.in	Tue Dec  5 00:55:00 2006
@@ -0,0 +1,10 @@
+#! /usr/bin/env python
+
+try:
+    from glchess.glchess import start_game
+except ImportError:
+    import sys
+    sys.path.append('@datarootdir@/glchess/')
+    from glchess.glchess import start_game
+
+start_game()
