From 45555ef541a76560dd6d9a1d322c96d06804052c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <jeng...@inai.de> Date: Tue, 7 May 2013 11:57:04 +0200 Subject: [PATCH] Populate install target of Makefile
--- Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Makefile b/Makefile index b5c2148..02382e5 100755 --- a/Makefile +++ b/Makefile @@ -73,3 +73,46 @@ clean_indep: test: install: + mkdir -p "${DESTDIR}/var/lib/x2gobroker" \ + "${DESTDIR}/var/log/x2gobroker" + + # python-x2gobroker + python setup.py install --prefix="${PREFIX}" $${DESTDIR+--root="${DESTDIR}"} + mkdir -p "${DESTDIR}${ETCDIR}/broker" "${DESTDIR}/etc/pam.d" + ${INSTALL_FILE} etc/x2gobroker.conf "${DESTDIR}${ETCDIR}/" + ${INSTALL_FILE} etc/broker/x2gobroker-sessionprofiles.conf \ + etc/broker/x2gobroker-loggers.conf \ + "${DESTDIR}${ETCDIR}/broker/" + mkdir -p "${DESTDIR}/etc/pam.d" + ${INSTALL_FILE} pam/x2gobroker "${DESTDIR}/etc/pam.d/" + + # x2gobroker-agent + mkdir -p "${DESTDIR}${LIBDIR}" "${DESTDIR}${SBINDIR}" + ${INSTALL_PROGRAM} lib/x2gobroker-agent* "${DESTDIR}${LIBDIR}/" + ${INSTALL_PROGRAM} sbin/x2gobroker-pubkeyauthorizer "${DESTDIR}${SBINDIR}/" + + # x2gobroker-authservice + mkdir -p "${DESTDIR}${SBINDIR}" "${DESTDIR}/etc/logrotate.d" \ + "${DESTDIR}${ETCDIR}/broker" + ${INSTALL_PROGRAM} sbin/x2gobroker-authservice "${DESTDIR}${SBINDIR}/" + ${INSTALL_FILE} logrotate/x2gobroker-authservice \ + "${DESTDIR}/etc/logrotate.d/" + ${INSTALL_FILE} etc/broker/x2gobroker-authservice-logger.conf \ + "${DESTDIR}${ETCDIR}/broker/" + + # x2gobroker-daemon + mkdir -p "${DESTDIR}/etc/logrotate.d/" + ${INSTALL_FILE} logrotate/x2gobroker-daemon \ + "${DESTDIR}/etc/logrotate.d/" + + # x2gobroker-wsgi + mkdir -p "${DESTDIR}${ETCDIR}" "${DESTDIR}/etc/logrotate.d" + ${INSTALL_FILE} etc/x2gobroker-wsgi.apache.{conf,vhost} \ + "${DESTDIR}${ETCDIR}/" + ${INSTALL_FILE} logrotate/x2gobroker-wsgi "${DESTDIR}/etc/logrotate.d/" + + # x2gobroker + mkdir -p "${DESTDIR}${BINDIR}" "${DESTDIR}${SBINDIR}" + ${INSTALL_PROGRAM} bin/x2gobroker-testauth "${DESTDIR}${BINDIR}/" + ${INSTALL_PROGRAM} sbin/x2gobroker sbin/x2gobroker-keygen \ + "${DESTDIR}${SBINDIR}/" -- 1.8.2
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev