all repos — slstatus @ 92ab9ef52ebcb097add97d9f78e67ad1c1d6a6ec

my build of slstatus (tools.suckless.org/slstatus/)

Makefile: detect running OS
Quentin Rameau quinq@fifth.space
Mon, 30 Apr 2018 15:14:31 +0200
commit

92ab9ef52ebcb097add97d9f78e67ad1c1d6a6ec

parent

3fe1db88922f9c06ee92ad6b6655ca0788aef93b

3 files changed, 7 insertions(+), 2 deletions(-)

jump to
M MakefileMakefile

@@ -2,6 +2,7 @@ # See LICENSE file for copyright and license details

# slstatus - suckless status monitor .POSIX: +include os.mk include config.mk REQ = util
M READMEREADME

@@ -36,8 +36,9 @@

Installation ------------ -Edit config.mk to match your local setup (slstatus is installed into the -/usr/local namespace by default). Uncomment OSSLIBS on OpenBSD. +Run ./configure first to detect your operating system. +Optionally edit config.mk to match your local setup (slstatus is installed into +the /usr/local namespace by default). Uncomment OSSLIBS on OpenBSD. Afterwards enter the following command to build and install slstatus (if necessary as root):
A configure

@@ -0,0 +1,3 @@

+#!/bin/sh + +printf 'OS = %s\n' "$(uname)" > os.mk