summaryrefslogtreecommitdiff
path: root/pam-extensions
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-04-30 19:52:28 +0000
committerRay Strode <halfline@gmail.com>2020-04-30 19:52:28 +0000
commitfb0c97485d90a37ecd870810d2152c7442a9e84c (patch)
tree3fb017a34a89bd236d9b30cb72dbc1a7b80e1c1c /pam-extensions
parentde884de7b69647bead3081222aa1c2be443e351f (diff)
downloadgdm-fb0c97485d90a37ecd870810d2152c7442a9e84c.tar.gz
data: switch gdm.service.in to use cmake format
We're going to be switching to meson, and meson doesn't deal too well with an @ in the configuration file that's not part of a substitution variable. This commit switches the gdm service over to use a cmake style of substitution variables, so we can later tell meson to use configure in cmake mode and workaround the @ confusion.
Diffstat (limited to 'pam-extensions')
-rw-r--r--pam-extensions/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/pam-extensions/meson.build b/pam-extensions/meson.build
new file mode 100644
index 00000000..4e7bc2e1
--- /dev/null
+++ b/pam-extensions/meson.build
@@ -0,0 +1,14 @@
+if pam_extensions_supported
+ pkgconfig.generate(
+ name: 'GDM PAM Extensions',
+ description: 'Macros for custom protocols over PAM',
+ filebase: 'gdm-pam-extensions',
+ version: meson.project_version(),
+ subdirs: meson.project_name(),
+ )
+
+ pam_extensions_inc = include_directories('.')
+ install_headers('gdm-pam-extensions.h',
+ subdir: meson.project_name()
+ )
+endif