Commits

Erik Southworth committed 33747b2

update waf build system

Comments (0)

Files changed (7)

 .pyc
 .lock-wscript
 Makefile
+.waf*

gamecreate/wscript_build

 	rule		= 'true',
 	source		= 'gamecreate multiserv.so LICENSE',
 )
-bld.install_files('${SERVICEDIR}/games', 'gamecreate', mode=0754)
-bld.install_files('${SERVICEDIR}/games', 'multiserv.so', mode=0755)
+bld.install_files('${SERVICEDIR}/games', 'gamecreate', chmod=0754)
+bld.install_files('${SERVICEDIR}/games', 'multiserv.so', chmod=0755)
 
 UID = os.getuid()
 
 #! /usr/bin/env python
 # encoding: utf-8
+# Geany 0.18
 # Erik Southworth, 2009, 2010 (s6v)
 
 """
     conf.env['GAWK'] = gawk
 
 @extension('.man .man0p .man1 .man1p .man2 .man3 .man3p .man4 .man5 .man6 .man7 .man8 .mann')
-def process_txt2man(self, node):
+def process_txt2man(self, node, ext=None):
     # """use e.g., ext='.1' or if None then the
     # extension is determined by slicing [man:x]."""
 
 #! /usr/bin/env python
 # encoding: utf-8
-# Erik Southworth, 2009 (s6v)
+# Geany 0.18
+# Erik Southworth, 2009,2010 (s6v)
 
 import Options
 
 #! /usr/bin/env python
 # encoding: utf-8
+# Geany 0.18
 # Erik Southworth, 2009,2010 (s6v)
 
 import Options
 		},
 		install_path	= bld.install_as(
 			'${SYSCONFDIR}/init.d/gamecreate',
-			'gamecreate.init',mode=0755
+			'gamecreate.init',chmod=0755
 		)
 	)
 
 		dict			= {'SERVICEDIR': bld.env['SERVICEDIR']},
 		install_path	= bld.install_as(
 			'${SYSCONFDIR}/cron.daily/gamecreate',
-			'gamecreate.cron',mode=0755
+			'gamecreate.cron',chmod=0755
 		)
 	)
 
 		rule			= 'true',
 		source			= 'gamecreate.log',
 	)
-	bld.install_files('${LOCALSTATEDIR}/log', 'gamecreate.log', mode=0660)
+	bld.install_files('${LOCALSTATEDIR}/log', 'gamecreate.log', chmod=0660)
 
 	bld.add_group('------> Semi-optional screenrc <-----')
 
Binary file added.
 #! /usr/bin/env python
 # encoding: utf-8
+# Geany 0.18
 # Erik Southworth, 2009,2010 (s6v)
 
 import Logs
 BUGREPORT = 'http://bitbucket.org/superstition/gamecreate/issues/'
 HOMEPAGE = 'http://bitbucket.org/superstition/gamecreate/wiki/'
 RELEASE = '2009,2010'
-REVISION = '14 April 2010'
+REVISION = '23 July 2010'
 
 GAMECREATE = 'http://www.mammothmedia.com.au/'
 
-srcdir = '.'
-blddir = 'build'
+top = '.'
+out = 'build'
 
 # get gamecreate user account
 try:
 
 	conf.env['SERVICEDIR'] = get_param('SERVICEDIR', conf.env['LOCALSTATEDIR'])
 
-	conf.sub_config(['man', 'service'])
+	conf.recurse(['man', 'service'])
 
 def build(bld):
-	bld.add_subdirs(['gamecreate', 'man', 'service'])
+	bld.recurse(['gamecreate', 'man', 'service'])
 
 def dist_hook():
-	shutil.copy2('/usr/bin/waf', os.path.curdir)
-
-	dir = os.path.join(os.pardir, blddir, 'default/man/')
+	# pkg man pages
+	dir = os.path.join(os.pardir, out, 'default/man/')
 	shutil.copy2(dir+'gamecreate.6', 'man')
 	os.remove('man/gamecreate.man6')
 	os.remove('man/txt2man.py')