[gnome-games/applygsoc2009: 71/76] -- Fix build/install
- From: Pablo Castellano <pablog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/applygsoc2009: 71/76] -- Fix build/install
- Date: Mon, 6 Sep 2010 02:53:11 +0000 (UTC)
commit c92238ac930b414fcbf2408e616fdbf7a8a01af5
Author: Pablo Castellano <pablog src gnome org>
Date: Wed Sep 1 05:26:00 2010 +0200
-- Fix build/install
Makefile patch from Thomas, thanks :)
gnome-sudoku/src/gnome-sudoku.in.in | 6 +++---
gnome-sudoku/src/lib/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnome-sudoku/src/gnome-sudoku.in.in b/gnome-sudoku/src/gnome-sudoku.in.in
index 0ebc9c6..b2c1737 100644
--- a/gnome-sudoku/src/gnome-sudoku.in.in
+++ b/gnome-sudoku/src/gnome-sudoku.in.in
@@ -38,7 +38,7 @@ import sys
try:
# Import gnome-sudoku module from source distribution.
- import lib;
+ import lib
sys.modules["gnome_sudoku"] = sys.modules["lib"];
from gnome_sudoku.gnome_sudoku import start_game
@@ -47,8 +47,8 @@ except ImportError:
# Import gnome-sudoku from pyexecdir or system installation.
from gnome_sudoku.gnome_sudoku import start_game
- except ImportError:
- # Import of gnome-sudoku failed. Show error message.
+ except ImportError as err:
+ print "Import of gnome-sudoku failed:", err
import gtk
import os.path
import gettext
diff --git a/gnome-sudoku/src/lib/Makefile.am b/gnome-sudoku/src/lib/Makefile.am
index 471e21d..0365471 100644
--- a/gnome-sudoku/src/lib/Makefile.am
+++ b/gnome-sudoku/src/lib/Makefile.am
@@ -25,6 +25,7 @@ gnomesudoku_PYTHON = \
timer.py \
tracker_box.py \
tracker_info.py \
- view.py
+ view.py \
+ undo.py
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]