aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-30 15:31:47 +0100
committerGravatar Sadie Powell2024-08-30 15:31:47 +0100
commitef8e631be26a47502c318039cf2c1c82ade8a7aa (patch)
tree8c3241a8c6c99f23d5b59106fd43d86f3ed62d33 /make
parentAdd MOTD escape sequences for { and }. (diff)
Add a config variable for the example dir.
This makes including example files easier on system-wide installs.
Diffstat (limited to 'make')
-rw-r--r--make/template/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/template/config.h b/make/template/config.h
index d8ef32f55..3340e2332 100644
--- a/make/template/config.h
+++ b/make/template/config.h
@@ -34,6 +34,9 @@
/** The default location that config files are stored in. */
#define INSPIRCD_CONFIG_PATH "@CONFIG_DIR@"
+/** The default location that example config files are stored in. */
+#define INSPIRCD_EXAMPLE_PATH "@EXAMPLE_DIR@"
+
/** The default location that data files are stored in. */
#define INSPIRCD_DATA_PATH "@DATA_DIR@"