чување 698c6f193c4b6005b78db50fdfcc5bf38cd6e7c3
родитељ 42c74d764d10f39de4c349c3fc2696c036a044ff
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Thu, 12 Mar 2026 22:16:33 +0100
Update INSTALL
Diffstat:
| M | INSTALL | | | 24 | ++++++------------------ |
измењених датотека: 1, додавања: 6(+), брисања: 18(-)
diff --git a/INSTALL b/INSTALL
@@ -9,6 +9,7 @@ Install
$ git clone https://git.sr.ht/~strahinja/table
$ cd table
+ $ cp config.$(uname -s) config.mk
$ su
# make install
@@ -17,11 +18,10 @@ With got[1]:
$ got clone https://git.sr.ht/~strahinja/table
$ got checkout table.git
$ cd table
+ $ cp config.$(uname -s) config.mk
$ su
# make install
-[1]: https://gameoftrees.org
-
Persistent build configuration file
-----------------------------------
@@ -30,21 +30,9 @@ The file config.mk will be sourced when building targets which also accept
configuration through environment variables. For example, CC and PREFIX can be
specified in config.mk.
+Initially, there will be no config.mk, you will need to copy one of the
+customized config.* files or write your own:
-OpenBSD
--------
-
-Before running make(1), comment the CPPFLAGS definition in config.mk above the
-line with the "OpenBSD" comment and uncomment the one below it:
+ $ cp config.$(uname -s) config.mk || echo Write config.mk from scratch
- #CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
- # -D_XOPEN_SOURCE=700
- # OpenBSD
- CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
- -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
-
-Also, do the same for MANPREFIX:
-
- #MANPREFIX = $(DESTDIR)$(PREFIX)/share/man
- # OpenBSD
- MANPREFIX = $(DESTDIR)$(PREFIX)/man
+[1]: https://gameoftrees.org