Makefile: moved man pages to $PREFIX/share/man

This commit is contained in:
Emma Tebibyte 2024-01-15 23:13:53 -07:00
parent 04923fb1ad
commit 0cbfb5c6cc
Signed by untrusted user: emma
GPG Key ID: 06FA419A1698C270

View File

@ -34,15 +34,9 @@ clean:
rm -rf build/ dist/
dist: all
mkdir -p \
dist/bin \
dist/man/man1 \
# dist/$(PREFIX)/lib \
# dist/$(PREFIX)/man/man3
mkdir -p dist/bin dist/share/man/man1
cp build/bin/* dist/bin/
# cp build/lib/* dist/$(PREFIX)/lib/
cp docs/*.1 dist/man/man1/
# cp docs/*.3 dist/$(PREFIX)/man/man3/
cp docs/*.1 dist/share/man/man1/
install: dist
mkdir -p $(PREFIX)