summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 4d5022fe098ac326fe1ac23610f92a8c5909d336 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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