Changeset 189 for trunk/SConstruct
- Timestamp:
- 04/24/10 00:49:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r187 r189 2 2 cflags = '-std=gnu99 -pedantic -Wall -ggdb' 3 3 4 if True:4 if False: 5 5 libiconv_path='/usr/local/src/libiconv-1.13-mingw32-dev' 6 6 env = Environment(CC='i586-mingw32msvc-cc', … … 29 29 libregfi = env.SharedLibrary(lib_src, LIBS=['m','pthread']) 30 30 31 31 32 # Executables 32 33 reglookup = env.Program('src/reglookup.c') 33 34 reglookup_recover = env.Program('src/reglookup-recover.c') 35 34 36 35 37 # Documentation … … 39 41 + man_fixup + '| gzip -9 > $TARGET', 40 42 suffix = '.gz', 41 src_suffix = '.docbook', 42 prefix='man/man1/') # XXX: only works for .1.docbook files... 43 src_suffix = '.docbook') 43 44 env['BUILDERS']['ManPage'] = man_builder 44 45 … … 46 47 man_reglookup_recover = env.ManPage('doc/reglookup-recover.1.docbook') 47 48 man_reglookup_timeline = env.ManPage('doc/reglookup-timeline.1.docbook') 49 50 51 # Installation 52 prefix='/usr/local/' 53 54 # XXX: need to install reglookup-timeline 55 env.Install(prefix+'bin', [reglookup, reglookup_recover, 'bin/reglookup-timeline']) 56 env.Install(prefix+'lib', [libregfi, libregfi_static]) 57 env.Install(prefix+'man/man1', [man_reglookup, man_reglookup_recover, 58 man_reglookup_timeline]) 59 48 60 49 61 # User Friendly Targets … … 53 65 env.Alias('bin', [reglookup_recover, reglookup]) 54 66 env.Alias('doc', [man_reglookup,man_reglookup_recover,man_reglookup_timeline]) 67 env.Alias('install', [prefix+'bin', prefix+'lib', prefix+'man']) 55 68 56 69 Default('bin', libregfi)
Note: See TracChangeset
for help on using the changeset viewer.