Makefile: detect running OS
This commit is contained in:
parent
3fe1db8892
commit
92ab9ef52e
1
Makefile
1
Makefile
@ -2,6 +2,7 @@
|
|||||||
# slstatus - suckless status monitor
|
# slstatus - suckless status monitor
|
||||||
.POSIX:
|
.POSIX:
|
||||||
|
|
||||||
|
include os.mk
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
REQ = util
|
REQ = util
|
||||||
|
5
README
5
README
@ -36,8 +36,9 @@ In order to build slstatus you need the Xlib header files.
|
|||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
Edit config.mk to match your local setup (slstatus is installed into the
|
Run ./configure first to detect your operating system.
|
||||||
/usr/local namespace by default). Uncomment OSSLIBS on OpenBSD.
|
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
|
Afterwards enter the following command to build and install slstatus (if
|
||||||
necessary as root):
|
necessary as root):
|
||||||
|
Loading…
Reference in New Issue
Block a user