swtpm/samples/Makefile.am
Stefan Berger a1004f8caa build: set proper rights on swtpm-localca script when installing
Signed-off-by: Stefan  Berger <stefanb@linux.vnet.ibm.com>
2015-05-04 01:07:28 -04:00

28 lines
561 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
chown tss:tss $(DESTDIR)/$(localstatedir)/lib/swtpm-localca
install-exec:
chmod 755 $(DESTDIR)/$(samplesconfdir)/swtpm-localca
EXTRA_DIST= \
swtpm-localca \
swtpm-localca.conf \
swtpm-localca.options