summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-01-27 02:14:34 +0100
committerSebastian Schmelzer2009-01-27 02:14:34 +0100
commitba6255dc003bc9d6375202c83d4f375c72863cbc (patch)
treede61eef6661e817d7584d523a6a366326dce8972 /Makefile
parentFirst design studies on new PreBoot environment: mconf examples and (diff)
downloadcore-ba6255dc003bc9d6375202c83d4f375c72863cbc.tar.gz
core-ba6255dc003bc9d6375202c83d4f375c72863cbc.tar.xz
core-ba6255dc003bc9d6375202c83d4f375c72863cbc.zip
* fix debian buildpackage stuff .. :)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2528 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0f437922..3f8abd39 100644
--- a/Makefile
+++ b/Makefile
@@ -83,8 +83,8 @@ $(USR_BIN_PATH)/*" \
release-tarball:
@export OPENSLX_SVN_SNAPSHOT=0; \
make tarball
-
-install: check-upgrade
+
+dep-check:
@if test "${TRACE_INSTALLATION}" = "1"; then set -x; fi; \
echo "Checking installation requirements..."; \
echo $$(date) >${SLX_INSTALL_LOG}; \
@@ -132,7 +132,11 @@ supported."; \
if ! which rsync >/dev/null 2>&1; then \
echo " rsync is required, please install it."; \
exit 1; \
- fi; \
+ fi;
+
+
+plain-install:
+ @if test "${TRACE_INSTALLATION}" = "1"; then set -x; fi; \
echo "Installing OpenSLX project files"; \
mkdir -p $(SLX_BUILD_PATH)$(SLX_CONFIG_PATH)/boot-env/pxe/themes \
-p $(SLX_BUILD_PATH)$(SLX_BASE_PATH)/lib \
@@ -197,8 +201,11 @@ supported."; \
$(SLX_BUILD_PATH)$(SLX_CONFIG_PATH)/boot-env/pxe/; \
cp -p tools/mksquashfs $(SLX_BUILD_PATH)$(SLX_BASE_PATH)/share/squashfs/; \
tar --exclude=.svn -cp -C initramfs tpm | \
- tar -xp -C $(SLX_BUILD_PATH)$(SLX_BASE_PATH)/share; \
+ tar -xp -C $(SLX_BUILD_PATH)$(SLX_BASE_PATH)/share;
+
+
+postinstall:
@ # create default config folder hierarchy:
@perl -Ilib -e 'use OpenSLX::ConfigFolder; createConfigFolderForDefaultSystem();'
@@ -240,6 +247,8 @@ supported."; \
rm DEFAULT-DB-TYPE; \
echo -n ' '; slxsettings set db-type="$${DEFAULT_DB_TYPE}";
+install: check-upgrade dep-check plain-install postinstall
+
vmware_install:
@# we should read the config file here or better have a separate
@# script for installing vmware related stuff