# Makefile for creating project tarball and installing the project # to the various destination directories # # Lars Mueller , 2006, 2007 # Dirk von Suchodoletz , 2006, 2007 # Michael Janczyk, 2006 # Sebastian Schmelzer , 2009, 2010 # # (c) 2006..2010 - OpenSLX GmbH # enforce the use of bash (/bin/sh might be a link to incomplete shells) SHELL = /bin/bash INSTALLER = ./tools/installer # the following defaults can be overwritten by exporting the new value before # running make # USR_BIN_PATH = /usr/bin # SLX_CONFIG_PATH = /etc/opt/openslx # SLX_BASE_PATH = /opt/openslx # SLX_PRIVATE_PATH = /var/opt/openslx # SLX_PUBLIC_PATH = /srv/openslx # SLX_TEMP_PATH = /tmp # SLX_INSTALL_LOG = install.log all: @echo "Nothing to build.. Just run make install!" tarball: @$(INSTALLER) build-tarball rpm: @$(INSTALLER) build-rpm deb: @$(INSTALLER) build-deb install: @$(INSTALLER) install uninstall: @$(INSTALLER) uninstall mrproper: @$(INSTALLER) mrproper clean: @$(INSTALLER) clean