GNUmakefile: made compliant with fhs(5)

This commit is contained in:
Emma Tebibyte 2023-12-28 01:27:13 -07:00
parent e16e7bd322
commit 6f4756bc76
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -47,11 +47,11 @@ clean:
install: build install: build
mkdir -p $(PREFIX)/bin $(PREFIX)/lib mkdir -p $(PREFIX)/bin $(PREFIX)/lib
mkdir -p $(PREFIX)/man/man1 $(PREFIX)/man/man3 mkdir -p $(PREFIX)/share/man/man1 $(PREFIX)/share/man/man3
# cp -f build/lib/*.so $(PREFIX)/lib/ # cp -f build/lib/*.so $(PREFIX)/lib/
cp -f build/bin/* $(PREFIX)/bin/ cp -f build/bin/* $(PREFIX)/bin/
cp -f docs/*.1 $(PREFIX)/man/man1/ cp -f docs/*.1 $(PREFIX)/share/man/man1/
# cp -f docs/*.3 $(PREFIX)/man/man3/ # cp -f docs/*.3 $(PREFIX)/share/man/man3/
test: build test: build
tests/cc-compat.sh tests/cc-compat.sh