From b01ac9828441189382ec1734c32f6e088293c816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 24 Jul 2022 11:42:20 +0200 Subject: [PATCH] replace makefile by install script, update submodule --- Makefile | 16 ---------------- install.sh | 15 +++++++++++++++ xmonad-custom | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 Makefile create mode 100755 install.sh diff --git a/Makefile b/Makefile deleted file mode 100644 index 3c8b6b7..0000000 --- a/Makefile +++ /dev/null @@ -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 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..34caec5 --- /dev/null +++ b/install.sh @@ -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 diff --git a/xmonad-custom b/xmonad-custom index be10c83..99fb2de 160000 --- a/xmonad-custom +++ b/xmonad-custom @@ -1 +1 @@ -Subproject commit be10c83957d683147da5aa156d3e79d50ab081b7 +Subproject commit 99fb2dee633e7ab5f0aa893d619c7c0d8d7db0b3