File: SConstruct

package info (click to toggle)
create-resources 0.1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 10,616 kB
  • sloc: makefile: 17
file content (24 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
platform = ARGUMENTS.get('OS', Platform())
#prefix = "/usr/share"


opts = Options()
opts.Add(PathOption('PREFIX', 'Install prefix', '/usr'))
env = Environment(options = opts)

#prefix=ARGUMENTS.get('prefix', '/usr/share')


print "Preparing Create Resource Files ..."
Export('env')

print 'Preparing Package Documentation ...'
packagedocs = ['COPYING', 'INSTALL']
installdir=env['PREFIX'] + '/share/doc/create'
env.Install(installdir, packagedocs)
ipdocs=env.Alias('install-package-docs', installdir)

SConscript(['brushes/SConscript', 'gradients/SConscript', 'patterns/SConscript', 'swatches/SConscript', 'docs/SConscript'])

Import('ibrgimp', 'igrgimp', 'igrk14', 'ipatb16', 'ipatb8', 'isw', 'idocs')
env.Alias('install',[ibrgimp, igrgimp, igrk14, ipatb16, ipatb8, isw, idocs, ipdocs])