From 7170af54acc61fca23e72fdce0cb04633515bcf2 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 9 Apr 2014 01:59:19 +0000 Subject: Tweak setup.py to conditionalize installation of rpki-ca scripts; move installation targets for Python library up from ca to top Makefile. svn path=/branches/tk685/; revision=5771 --- Makefile.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 7441cb19..d08cd298 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,6 +29,7 @@ RP_TARGET = @RP_TARGET@ CA_TARGET = @CA_TARGET@ SETUP_PY_INSTALL_LAYOUT = @SETUP_PY_INSTALL_LAYOUT@ +SETUP_PY_ROOT = `${PYTHON} -c 'import sys; print "--root " + sys.argv[1] if sys.argv[1] else ""' '${DESTDIR}'` POW_SO = rpki/POW/_POW.so @@ -98,12 +99,10 @@ rpki-distclean: @true rpki-install: - @false + ${PYTHON} setup.py install ${SETUP_PY_ROOT} ${SETUP_PY_INSTALL_LAYOUT} --record installed rpki-deinstall: - @false - -### + xargs rm -fv $@ -SETUP_PY_ROOT = `${PYTHON} -c 'import sys; print "--root " + sys.argv[1] if sys.argv[1] else ""' '${DESTDIR}'` - .FORCE: ${POW_SO}: .FORCE setup_autoconf.py -- cgit v1.2.3