RSS

(root)/fspclient/head : 112

Radim Kolar
2009-09-15 20:18:32
Revision ID: radim_kolar-20090915201832-z3ari36xhtobwmr8
Support for custom manpage location

collapse all collapse all

added added

removed removed

6
 Print header numbers in packet debug dump in hex
6
 Print header numbers in packet debug dump in hex
7
 Import PATH into build system. Usefull when cross-compiling.
7
 Import PATH into build system. Usefull when cross-compiling.
8
 Now works on 64-bit systems
8
 Now works on 64-bit systems
 
 
9
 Build system can detect location where man pages should be installed
9
 
10
 
10
21 Jul 2009 Version 0.92.1
11
21 Jul 2009 Version 0.92.1
11
 SConstruct modularized
12
 SConstruct modularized
48
from clangtest import checkForVariable
48
from clangtest import checkForVariable
49
from maintainer import checkForMaintainerMode
49
from maintainer import checkForMaintainerMode
50
from prefix import checkForUserPrefix
50
from prefix import checkForUserPrefix
 
 
51
from mandir import checkForUserMandir
 
 
52
from mandir import autodetectMandir
51
from lockprefix import checkForLockPrefix
53
from lockprefix import checkForLockPrefix
52
from locktype import checkForLockingType
54
from locktype import checkForLockingType
53
 
55
 
56
                      'checkForLockPrefix':checkForLockPrefix,
58
                      'checkForLockPrefix':checkForLockPrefix,
57
                      'checkPrefix':checkForUserPrefix,
59
                      'checkPrefix':checkForUserPrefix,
58
                      'haveVar':checkForVariable,
60
                      'haveVar':checkForVariable,
 
 
61
                      'checkForUserMandir':checkForUserMandir,
 
 
62
                      'autodetectMandir':autodetectMandir,
59
                      'checkForLockingType':checkForLockingType
63
                      'checkForLockingType':checkForLockingType
60
                      })
64
                      })
61
if not conf.CheckCC(): Exit(1)
65
if not conf.CheckCC(): Exit(1)
86
conf.checkForLockingType(conf)
90
conf.checkForLockingType(conf)
87
conf.checkForLockPrefix()
91
conf.checkForLockPrefix()
88
PREFIX=conf.checkPrefix(PREFIX)
92
PREFIX=conf.checkPrefix(PREFIX)
 
 
93
MANDIR=conf.autodetectMandir(PREFIX)
 
 
94
MANDIR=conf.checkForUserMandir(MANDIR)
89
conf.MAINTAINER_MODE()
95
conf.MAINTAINER_MODE()
90
conf.Finish()
96
conf.Finish()
91
 
97
 
92
# process build rules
98
# process build rules
93
Export( Split("env PREFIX PACKAGE VERSION"))
99
Export( Split("env PREFIX PACKAGE VERSION MANDIR"))
94
env.SConscript(dirs=Split('. bsd common client man'))
100
env.SConscript(dirs=Split('. bsd common client man'))
1
Import(Split("env PREFIX"))
1
Import(Split("env MANDIR"))
2
 
2
 
3
#manpage = File('fsp.1')
3
#manpage = File('fsp.1')
4
env.GZip('fsp.1.gz','fsp.1')
4
env.GZip('fsp.1.gz','fsp.1')
5
env.Alias("build",'fsp.1.gz')
5
env.Alias("build",'fsp.1.gz')
6
 
6
 
7
env.Install(dir = PREFIX+'/man/man1', source='fsp.1.gz')
7
env.Install(dir = MANDIR+'/man1', source='fsp.1.gz')
8
env.Alias("install", PREFIX+'/man/man1')
8
env.Alias("install", MANDIR)

Loggerhead is a web-based interface for Bazaar branches