commit a6e617e1299ba43f5ca0f6c3f7c261df262b2100
parent c4a26d315280f13f5d1c7596ab45ce256b6e628c
Author: nibo <nibo@relim.de>
Date: Mon, 17 Feb 2025 17:07:56 +0100
Improve README.md
Diffstat:
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,11 +1,10 @@
+VERSION = 0.1.0
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-CFLAGS = -std=c23 -pedantic -Wall -Wextra
+CFLAGS = -std=c2x -pedantic -Wall -Wextra
LDFLAGS = -lpdfio -ltoml -lfontconfig -lgrapheme -lm
-STATIC_LDFLAGS = -lpdfio -ltoml -lfontconfig -lgrapheme -lz -L/home/robin/src/libexpat/expat/lib/.libs/ -lexpat -L/home/robin/src/freetype/build/ -lfreetype -L/home/robin/src/libpng-1.6.45/.libs/ -lpng16 -L/home/robin/src/harfbuzz/build/src/ -lharfbuzz -lm
SRC = src/util.c src/config.c src/chordpro.c src/chord_diagram.c src/out_pdf.c src/lorid.c
-VERSION = 0.1.0
# Control whether log messages are colored.
COLOR = 0
# Exact font family name, e.g. from `fc-list : family`
@@ -30,11 +29,6 @@ install: compile
cp lorid_config.5 ${MANPREFIX}/man5/
mkdir -p ${PREFIX}/share/lorid/
cp ./misc/ChordProSymbols.ttf ${PREFIX}/share/lorid/
- @echo ""
- @echo "OpenSans is the default font for everything in lorid."
- @echo "Install/Copy the opensans font files from ./misc/opensans"
- @echo "if you don't already have it installed."
- @echo -e "You could do it like this: cp -r ./misc/opensans /usr/share/fonts/"
uninstall:
rm ${PREFIX}/bin/lorid
rm ${MANPREFIX}/man1/lorid.1
diff --git a/README.md b/README.md
@@ -72,6 +72,8 @@ make install
## Installation
+You might want to take a look at the Makefile and adjust to your liking.
+
```
make
make install