Changeset 209 for SConstruct
- Timestamp:
- 10/09/10 17:55:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SConstruct
r195 r209 6 6 libtalloc_path='win32/libtalloc/' 7 7 8 source_targets=('reglookup-trunk.tar.gz',) 9 win32_targets=('reglookup-trunk-win32.zip',) 8 source_targets=('reglookup-src-trunk.tar.gz',) 9 win32_targets=('reglookup-win32-trunk.zip',) 10 doc_targets=('reglookup-doc-trunk.tar.gz',) 10 11 11 12 def target2version(target): 12 return target.split('-')[ 1].split('.')[0]13 return target.split('-')[2].split('.')[0] 13 14 14 15 def version2input(version): … … 33 34 cd .release && zip -r %s.zip %s 34 35 mv .release/%s.zip . && rm -rf .release 36 ''' 37 38 doc_cmds=''' 39 rm -rf .release; 40 svn export svn+ssh://sentinelchicken.org/home/projects/subversion/reglookup/ .release; 41 cd .release && doxygen Doxyfile.regfi 42 mv .release/doc .release/%s 43 cd .release && tar cf %s.tar %s && gzip -9 %s.tar; 44 mv .release/%s.tar.gz . && rm -rf .release 35 45 ''' 36 46 … … 86 96 t_base,t_base,t_base,t_base,t_base) 87 97 98 elif t in doc_targets: 99 ret_val += doc_cmds % (t_base,t_base,t_base,t_base,t_base) 100 88 101 else: 89 return '#ERROR: cannot build "%s". Acceptable targets: %s' % (t, repr(buildable_files)) 102 return '#ERROR: cannot build "%s". Acceptable targets: %s'\ 103 % (t, repr(source_targets+win32_targets+doc_targets)) 90 104 91 105 return ret_val
Note: See TracChangeset
for help on using the changeset viewer.