swtpm/Makefile.am
Stefan Berger 07ea18bc38 build-sys: Add python-install and python-uninstall targets
To force the installation of the python programs add a python-install
target. This solves an installation issue with non-standard prefix,
like not using /usr or /usr/local, as may be the case on OS X (Apple)
when using homebrew. It leaves the 'make distcheck' working, which also
uses a non-standard prefix and where we don't want to install the tools
due to issues with removing them afterwards where pip3 cannot be used.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-10-05 12:06:05 -04:00

35 lines
570 B
Makefile

#
# Makefile.am
#
# For the license, see the COPYING file in the root directory.
#
SUBDIRS = \
etc \
include \
man \
samples \
src \
tests
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
CHANGES \
INSTALL \
LICENSE \
COPYING \
README \
autogen.sh
if WITH_SELINUX
selinux-install selinux-uninstall:
@cd src/selinux && $(MAKE) $(AM_MAKEFLAGS) $@
.PHONY: selinux-install selinux-uninstall
endif
python-install python-uninstall:
@cd samples && $(MAKE) $(AM_MAKEFLAGS) $@
@cd src/swtpm_setup && $(MAKE) $(AM_MAKEFLAGS) $@
.PHONY: python-install python-uninstall