chiark / gitweb /
examples/disorder.init.in: Read settings from `/etc/default/disorder'.
[disorder] / lib / defs.c
CommitLineData
460b9539 1/*
2 * This file is part of DisOrder
5aff007d 3 * Copyright (C) 2005, 2007, 2008 Richard Kettlewell
460b9539 4 *
e7eb3a27 5 * This program is free software: you can redistribute it and/or modify
460b9539 6 * it under the terms of the GNU General Public License as published by
e7eb3a27 7 * the Free Software Foundation, either version 3 of the License, or
460b9539 8 * (at your option) any later version.
e7eb3a27
RK
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
460b9539 15 * You should have received a copy of the GNU General Public License
e7eb3a27 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
460b9539 17 */
14ad73b9
RK
18/** @file lib/defs.c @brief Definitions chosen by configure
19 *
20 * The binary directories are included so that they can be appended to the path
21 * (see fix_path()), not so that the path can be ignored.
22 */
460b9539 23
05b75f8d 24#include "common.h"
460b9539 25
26#include "defs.h"
27#include "definitions.h"
28
14ad73b9 29/** @brief Software version number */
a05e4467 30const char disorder_short_version_string[] = VERSION;
14ad73b9
RK
31
32/** @brief Package library directory */
460b9539 33const char pkglibdir[] = PKGLIBDIR;
14ad73b9
RK
34
35/** @brief Package configuration directory */
460b9539 36const char pkgconfdir[] = PKGCONFDIR;
14ad73b9
RK
37
38/** @brief Package variable state directory */
460b9539 39const char pkgstatedir[] = PKGSTATEDIR;
14ad73b9
RK
40
41/** @brief Package fixed data directory */
460b9539 42const char pkgdatadir[] = PKGDATADIR;
14ad73b9 43
7e960883
RK
44/** @brief Package HTML documentation directory */
45const char dochtmldir[] = DOCHTMLDIR;
46
14ad73b9 47/** @brief Binary directory */
e83d0967 48const char bindir[] = BINDIR;
14ad73b9
RK
49
50/** @brief System binary directory */
e83d0967 51const char sbindir[] = SBINDIR;
14ad73b9 52
2eee4b0c
RK
53/** @brief System sendmail executable */
54const char sendmail_binary[] = SENDMAIL;
55
0e4472a0 56/** @brief Fink binary directory
57 *
58 * Meaningless if not on a Mac.
59 */
e83d0967 60const char finkbindir[] = FINKBINDIR;
460b9539 61
62/*
63Local Variables:
64c-basic-offset:2
65comment-column:40
66fill-column:79
67End:
68*/