libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit b93746402103a3cff057ad88c083bf30b841574f
parent d8dc4bad69ff4006dca1309a194b6cf17f425ce5
Author: Laslo Hunhold <dev@frign.de>
Date:   Wed,  7 Sep 2022 22:32:28 +0200

Move $VERSION from config.mk to Makefile and group variables

Same as with $MAN_DATE and $UNICODE_VERSIONS, which are parameters that
are not really meant to be changed from the outside depending on the
build system/architecture, it does not make much sense to place the
VERSION variable explicitly within config.mk even though this has been
the usual approach in suckless projects (cargo-cult?).

Given the order of specification it will still always be possible to
override VERSION from config.mk.

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
MMakefile | 8++++----
Mconfig.mk | 3---
2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,10 +2,12 @@ # libgrapheme - unicode string library .POSIX: -include config.mk - +VERSION = 1 +MAN_DATE = 2022-09-07 UNICODE_VERSION = 14.0.0 +include config.mk + BENCHMARK =\ benchmark/case\ benchmark/character\ @@ -58,8 +60,6 @@ TEST =\ test/utf8-encode\ test/word\ -MAN_DATE = 2022-08-28 - MAN_TEMPLATE =\ man/template/next_break.sh\ man/template/to_case.sh\ diff --git a/config.mk b/config.mk @@ -1,6 +1,3 @@ -# libgrapheme version -VERSION = 1 - # Customize below to fit your system # paths