replace makefile by install script, update submodule
This commit is contained in:
parent
d96a6b4867
commit
b01ac98284
3 changed files with 16 additions and 17 deletions
16
Makefile
16
Makefile
|
@ -1,16 +0,0 @@
|
||||||
install: stack
|
|
||||||
stack install
|
|
||||||
|
|
||||||
stack: .get-repo-lock
|
|
||||||
stack setup
|
|
||||||
stack init
|
|
||||||
stack build
|
|
||||||
|
|
||||||
get-repos:
|
|
||||||
git submodule update --init
|
|
||||||
git clone https://github.com/xmonad/xmonad
|
|
||||||
git clone https://github.com/xmonad/xmonad-contrib
|
|
||||||
git clone https://github.com/troydm/xmonad-dbus
|
|
||||||
|
|
||||||
.get-repo-lock: get-repos
|
|
||||||
touch .get-repo-lock
|
|
15
install.sh
Executable file
15
install.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
echo "Getting sources via git"
|
||||||
|
git submodule update --init
|
||||||
|
git clone https://github.com/xmonad/xmonad
|
||||||
|
git clone https://github.com/xmonad/xmonad-contrib
|
||||||
|
git clone https://github.com/troydm/xmonad-dbus
|
||||||
|
|
||||||
|
echo "Setting up stack and building"
|
||||||
|
stack setup
|
||||||
|
stack init
|
||||||
|
stack build
|
||||||
|
stack install
|
||||||
|
|
||||||
|
source xmonad-custom/install_desktop_file.sh
|
|
@ -1 +1 @@
|
||||||
Subproject commit be10c83957d683147da5aa156d3e79d50ab081b7
|
Subproject commit 99fb2dee633e7ab5f0aa893d619c7c0d8d7db0b3
|
Loading…
Reference in a new issue