Mercurial > parpg-core
comparison waf_paths.py @ 17:15107282d9eb
Redefined SYSCONFDIR installation path variable so that it appends APPNAME.
* Although this deviates from GNU standards this relatively minor change makes it easier to write paths that are portable to Windows.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Thu, 09 Jun 2011 21:40:51 -1000 |
parents | 927f2cf75357 |
children | 07ff8cf8a0f1 |
comparison
equal
deleted
inserted
replaced
16:927f2cf75357 | 17:15107282d9eb |
---|---|
6 | 6 |
7 option_values = { | 7 option_values = { |
8 'bindir' : ('user executables', '${EXEC_PREFIX}/bin'), | 8 'bindir' : ('user executables', '${EXEC_PREFIX}/bin'), |
9 'sbindir' : ('system admin executables', '${EXEC_PREFIX}/sbin'), | 9 'sbindir' : ('system admin executables', '${EXEC_PREFIX}/sbin'), |
10 'libexecdir' : ('program executables', '${EXEC_PREFIX}/libexec'), | 10 'libexecdir' : ('program executables', '${EXEC_PREFIX}/libexec'), |
11 'sysconfdir' : ('read-only single-machine data', '${PREFIX}/etc'), | |
12 'sharedstatedir': ('modifiable architecture-independent data', | 11 'sharedstatedir': ('modifiable architecture-independent data', |
13 '${PREFIX}/com'), | 12 '${PREFIX}/com'), |
14 'localstatedir' : ('modifiable single-machine data', '${PREFIX}/var'), | 13 'localstatedir' : ('modifiable single-machine data', '${PREFIX}/var'), |
15 'libdir' : ('object code libraries', '${EXEC_PREFIX}/lib'), | 14 'libdir' : ('object code libraries', '${EXEC_PREFIX}/lib'), |
16 'includedir' : ('C header files', '${PREFIX}/include'), | 15 'includedir' : ('C header files', '${PREFIX}/include'), |
17 'oldincludedir' : ('C header files for non-gcc', '/usr/include'), | 16 'oldincludedir' : ('C header files for non-gcc', '/usr/include'), |
18 'datarootdir' : ('read-only arch.-independent data root', | 17 'datarootdir' : ('read-only arch.-independent data root', |
19 '${PREFIX}/share'), | 18 '${PREFIX}/share'), |
20 # datadir definition deviates from GNU by appending the ${APPNAME}, but it | 19 # datadir and sysconfdir definitions deviate from GNU standards by |
21 # makes the install script simpler since we don't have to redefine install | 20 # appending the ${APPNAME}, but it makes the install script simpler since |
22 # paths on Windows. | 21 # we don't have to redefine install paths on Windows. |
23 'datadir' : ('read-only architecture-independent data', | 22 'datadir' : ('read-only architecture-independent data', |
24 '${DATAROOTDIR}/${APPNAME}'), | 23 '${DATAROOTDIR}/${APPNAME}'), |
24 'sysconfdir' : ('read-only single-machine data', | |
25 '${PREFIX}/etc/${APPNAME}'), | |
25 'infodir' : ('info documentation', '${DATAROOTDIR}/info'), | 26 'infodir' : ('info documentation', '${DATAROOTDIR}/info'), |
26 'localedir' : ('locale-dependent data', '${DATAROOTDIR}/locale'), | 27 'localedir' : ('locale-dependent data', '${DATAROOTDIR}/locale'), |
27 'mandir' : ('man documentation', '${DATAROOTDIR}/man'), | 28 'mandir' : ('man documentation', '${DATAROOTDIR}/man'), |
28 'docdir' : ('documentation root', '${DATAROOTDIR}/doc/${APPNAME}'), | 29 'docdir' : ('documentation root', '${DATAROOTDIR}/doc/${APPNAME}'), |
29 'htmldir' : ('html documentation', '${DOCDIR}'), | 30 'htmldir' : ('html documentation', '${DOCDIR}'), |