hotssh r64 - in trunk: . bin po



Author: walters
Date: Fri Dec 19 03:30:58 2008
New Revision: 64
URL: http://svn.gnome.org/viewvc/hotssh?rev=64&view=rev

Log:
Update to waf 1.5.1

Modified:
   trunk/bin/wscript_build
   trunk/po/wscript_build
   trunk/waf
   trunk/wscript

Modified: trunk/bin/wscript_build
==============================================================================
--- trunk/bin/wscript_build	(original)
+++ trunk/bin/wscript_build	Fri Dec 19 03:30:58 2008
@@ -1 +1 @@
-install_files('PREFIX', 'bin', 'hotssh', chmod=0755)
\ No newline at end of file
+bld.install_files('${PREFIX}/bin', 'hotssh', chmod=0755)
\ No newline at end of file

Modified: trunk/po/wscript_build
==============================================================================
--- trunk/po/wscript_build	(original)
+++ trunk/po/wscript_build	Fri Dec 19 03:30:58 2008
@@ -1,2 +1,2 @@
-obj=bld.create_obj('intltool_po')
+obj=bld.new_task_gen('intltool_po')
 obj.appname='hotssh'

Modified: trunk/waf
==============================================================================
Binary files trunk/waf	(original) and trunk/waf	Fri Dec 19 03:30:58 2008 differ

Modified: trunk/wscript
==============================================================================
--- trunk/wscript	(original)
+++ trunk/wscript	Fri Dec 19 03:30:58 2008
@@ -2,7 +2,8 @@
 # encoding: utf-8
 
 import sys
-import Configure, Common, python, intltool, misc
+import Configure
+import gnome, python, intltool, misc
 
 VERSION='0.2.5'
 APPNAME='hotssh'
@@ -24,28 +25,27 @@
 	conf.define('PACKAGE', 'hotssh')
 
 def build(bld):
-	obj = bld.create_obj('py')
+	obj = bld.new_task_gen('py')
 	obj.find_sources_in_dirs(['hotssh'], exts=['.py'])
-	obj.inst_dir = 'hotssh'
-	obj = bld.create_obj('py')
+	obj.install_path = 'hotssh'
+	obj = bld.new_task_gen('py')
 	obj.find_sources_in_dirs(['hotssh/hotlib'], exts=['.py'])
-	obj.inst_dir = 'hotssh/hotlib'
-	obj = bld.create_obj('py')
+	obj.install_path = 'hotssh/hotlib'
+	obj = bld.new_task_gen('py')
 	obj.find_sources_in_dirs(['hotssh/hotlib_ui'], exts=['.py'])
-	obj.inst_dir = 'hotssh/hotlib_ui'
-	obj = bld.create_obj('py')
+	obj.install_path = 'hotssh/hotlib_ui'
+	obj = bld.new_task_gen('py')
 	obj.find_sources_in_dirs(['hotssh/hotvte'], exts=['.py'])
-	obj.inst_dir = 'hotssh/hotvte'
+	obj.install_path = 'hotssh/hotvte'
 	# process desktop.in file
-	obj=bld.create_obj('intltool_in')
+	obj=bld.new_task_gen('intltool_in')
 	obj.source  = 'hotssh.desktop.in'
-	obj.destvar = 'PREFIX'
+	obj.install_path = '${PREFIX}/share/applications'
 	obj.subdir  = 'share/applications'
 	obj.podir   = 'po'
 	obj.flags   = '-d'
-	install_files('PREFIX', 'share/applications', 'hotssh.desktop')
-	install_files('PREFIX', 'share/doc/hotssh-' + VERSION, 'COPYING')
-	if bld.env()['PREFIX'] == '/usr':
-		install_files('PREFIX', '../etc/profile.d', 'hotssh.csh')
-		install_files('PREFIX', '../etc/profile.d', 'hotssh.sh')
+	bld.install_files('${PREFIX}/share/doc/hotssh-' + VERSION, 'COPYING')
+	if bld.env['PREFIX'] == '/usr':
+		bld.install_files('${PREFIX}/../etc/profile.d', 'hotssh.csh')
+		bld.install_files('${PREFIX}/../etc/profile.d', 'hotssh.sh')
 	bld.add_subdirs('bin po')



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