blob: 4d5022fe098ac326fe1ac23610f92a8c5909d336 (
plain) (
tree)
|
|
# Makefile for creating project tarball and installing the project
# to the various destination directories
#
# Lars Mueller <lm@openslx.com>, 2006, 2007
# Dirk von Suchodoletz <dvs@openslx.com>, 2006, 2007
# Michael Janczyk, 2006
# Sebastian Schmelzer <ssc@openslx.com>, 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
|