Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130023 | Differences between
and this patch

Collapse All | Expand All

(-)SConstruct (-18 / +2 lines)
Lines 17-24 Link Here
17
# glbase = '/Microsoft Visual Studio/vc98/Include/gl/'
17
# glbase = '/Microsoft Visual Studio/vc98/Include/gl/'
18
18
19
################ change base of dirs (unix OS)
19
################ change base of dirs (unix OS)
20
installbindir = '/usr/local/bin'
20
installbindir = '/usr/games/bin'
21
installdatadir = '/usr/local/share/dangerdeep'
21
installdatadir = '/usr/share/games/dangerdeep'
22
if ARGUMENTS.get('installbindir', 0):
22
if ARGUMENTS.get('installbindir', 0):
23
	installbindir = ARGUMENTS.get('installbindir', 0)
23
	installbindir = ARGUMENTS.get('installbindir', 0)
24
if ARGUMENTS.get('installdatadir', 0):
24
if ARGUMENTS.get('installdatadir', 0):
Lines 287-308 Link Here
287
287
288
BuildDir(target_dir, source_base_dir, duplicate=0)
288
BuildDir(target_dir, source_base_dir, duplicate=0)
289
289
290
############### option so that "scons tarball" builds a tarball of source and data
291
# tar building works only on linux
292
if ( build_dir == 'linux' ) or ( build_dir == 'freebsd' ):
293
	basetarfilename = 'dangerdeep-' + version
294
	os.system('rm -rf ' + basetarfilename)
295
	os.system('ln -s . ' + basetarfilename)
296
	filestopack = []
297
	for i in allcvsfiles:
298
		if not(i.endswith('.xcf')) and not(i.startswith('./data/xcf')):
299
			if not(i.startswith('.' + os.sep + 'build')):
300
				filestopack += [basetarfilename + os.sep + i]
301
	env.Append(TARFLAGS = '-zh')
302
	env.Append(TARSUFFIX = '.gz')
303
	tgz = env.Tar(basetarfilename + '.tar.gz', filestopack)
304
	env.Alias('tarball', tgz)
305
306
#also env.Zip is possible...
290
#also env.Zip is possible...
307
291
308
# fixme: maybe try env.MSVSProject(...) to create MS VS project files
292
# fixme: maybe try env.MSVSProject(...) to create MS VS project files

Return to bug 130023