Skip to content

Commit

Permalink
added submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz committed Aug 18, 2014
1 parent 2c8b7ec commit dded600
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ PREFIX := /opt/Lyve-SET
PROFILE := $(HOME)/.bashrc
VERSION := 0.8

# Derived variables
TMPDIR := $(PREFIX)/build
TARFILE=Lyve-SET.v$(VERSION).tar.gz
TMPTARFILE=$(TMPDIR)/$(TARFILE)

# Style variables
T= " "
T2=$(T)$(T)

###################################

default: help

help:
Expand All @@ -35,6 +39,11 @@ install:
tar zxvf $(TMPTARFILE)
# Move all the untarred files to the install directory
mv -v $(TMPDIR)/lyve-SET-$(VERSION)/* $(PREFIX)/
# download necessary submodules because git doesn't package them in the release
rm -rvf $(PREFIX)/lib/*
cd $(PREFIX)/lib && \
git clone https://github.com/lskatz/callsam.git && \
git clone https://github.com/lskatz/Schedule--SGELK.git $(PREFIX)/lib/Schedule
@echo NOTE: 'make env' in order to set your path permanently.
@echo NOTE: 'make clean' to remove the temporary directory.

Expand Down

0 comments on commit dded600

Please sign in to comment.