summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-21 22:53:33 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-21 22:53:33 -0700
commit91b6c588179bbb8ba6d919e6f31267eb88f649c4 (patch)
tree2ed8846bc9a9bed5c5f836325811783f7fe44bbd /SConstruct
parent0a90777c46009de1a90a793e74320ff1545c619e (diff)
downloadaptitude-91b6c588179bbb8ba6d919e6f31267eb88f649c4.tar.gz
Add two more directory definitions.
Actually, lockfile is a file. Really, there isn't anything directory-specific about DefineDirectory; maybe its name should be changed?
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 5b2f5cae..1d5f9df1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -31,6 +31,12 @@ programs_env.DefineDirectory('helpdir',
programs_env.DefineDirectory('localedir',
default = '$DATADIR/locale',
help = 'installation prefix for locale files')
+programs_env.DefineDirectory('statedir',
+ default = '/var/lib/$PACKAGE',
+ help = 'the location in which aptitude should store its state (default /var/lib/$PACKAGE)')
+programs_env.DefineDirectory('lockfile',
+ default = '/var/lock/$PACKAGE',
+ help = 'the file that aptitude should use to lock out other instances of itself (default /var/lock/$PACKAGE).')
programs_conf = aptitude_build.Configure(programs_env)