瀏覽代碼

Makefile: detect running OS

master
Quentin Rameau 6 年之前
committed by Aaron Marcher
父節點
當前提交
92ab9ef52e
共有 3 個檔案被更改,包括 7 行新增2 行删除
  1. +1
    -0
      Makefile
  2. +3
    -2
      README
  3. +3
    -0
      configure

+ 1
- 0
Makefile 查看文件

@@ -2,6 +2,7 @@
# slstatus - suckless status monitor
.POSIX:

include os.mk
include config.mk

REQ = util


+ 3
- 2
README 查看文件

@@ -36,8 +36,9 @@ In order to build slstatus you need the Xlib header files.

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):


+ 3
- 0
configure 查看文件

@@ -0,0 +1,3 @@
#!/bin/sh

printf 'OS = %s\n' "$(uname)" > os.mk

Loading…
取消
儲存