aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/installdir.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/installdir.md b/docs/markdown/snippets/installdir.md
new file mode 100644
index 0000000..c709ffe
--- /dev/null
+++ b/docs/markdown/snippets/installdir.md
@@ -0,0 +1,5 @@
+## `install_data()` defaults to `{datadir}/{projectname}`
+
+If `install_data()` is not given an `install_dir` keyword argument, the
+target directory defaults to `{datadir}/{projectname}` (e.g.
+`/usr/share/myproj`).