Clone in a terminal:
Commit a43218e
Johan Mattsson - 2012-12-11T18:35:29+00:00
a43218e2fd856030c047655644ecfa67010c3831johan.mattsson.m@gmail.com

fix linux installer

Changed files (2)

Diff

diff --git a/src/GtkWindow.vala b/src/GtkWindow.valaindex 817e05d..7e0034b 100644--- a/src/GtkWindow.vala+++ b/src/GtkWindow.vala@@ -215,7 +215,6 @@ public class GtkWindow : Gtk.Window, NativeWindow { 			} 			 			window.glyph_canvas.key_press (event.keyval);-			 			return false; 		}); 		diff --git a/wscript b/wscriptindex d8d4c8a..73d37d3 100644--- a/wscript+++ b/wscript@@ -113,18 +113,19 @@ def compile_translations (bld): 		loc = loc.replace ("birdfont-", "")
 		
 		bld (
-			rule = "mkdir -p ./locale/" + loc + "/LC_MESSAGES/",
+			rule = "mkdir -p locale/" + loc + "/LC_MESSAGES/",
 			name = loc
 		)
 		
 		bld (
-			rule = "msgfmt --output=./locale/" + loc + "/LC_MESSAGES/birdfont.mo ../translations/birdfont-" + loc + ".po",
-			depends = loc
+			rule = "msgfmt --output=locale/" + loc + "/LC_MESSAGES/birdfont.mo ../translations/birdfont-" + loc + ".po",
+			depends = loc,
+			target = 'build/locale/'  + loc + '/LC_MESSAGES/birdfont.mo'
 		)
 		
 		bld.install_files(
 			'${PREFIX}/locale/" + loc + "/LC_MESSAGES/', 
-			['locale/" + loc + "/LC_MESSAGES/birdfont.mo']
+			['build/locale/'  + loc + '/LC_MESSAGES/birdfont.mo']
 		)
 	
 def write_config (cfg):

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112