mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-12-29 00:15:17 +00:00
Remove the hardcodes tss user and group and to configure with --with-tss-user=tss --with-tss-group=tss to set the tss user and group to be used. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
30 lines
615 B
Makefile
30 lines
615 B
Makefile
#
|
|
# samples/Makefile.am
|
|
#
|
|
# For the license, see the LICENSE file in the root directory.
|
|
#
|
|
|
|
samplesconfdir = $(datadir)/@PACKAGE@
|
|
samplessysconfdir = $(sysconfdir)
|
|
|
|
samplesconf_SCRIPTS = \
|
|
swtpm-localca
|
|
|
|
samplessysconf_DATA = \
|
|
swtpm-localca.conf \
|
|
swtpm-localca.options
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/lib/swtpm-localca
|
|
if test -z $(DESTDIR); then \
|
|
chown @TSS_USER@:@TSS_GROUP@ $(DESTDIR)/$(localstatedir)/lib/swtpm-localca; \
|
|
fi
|
|
|
|
install-exec:
|
|
chmod 755 $(DESTDIR)/$(samplesconfdir)/swtpm-localca
|
|
|
|
EXTRA_DIST= \
|
|
swtpm-localca \
|
|
swtpm-localca.conf \
|
|
swtpm-localca.options
|