commit 44d1226fe37446fecb092d1bed4e89eec159013f
parent 34f110cf695f6f3df748df1ad0f2c0e776586d48
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 7 Apr 2024 19:59:01 +0200
Add man page to install/uninstall targets
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -25,9 +25,12 @@ default:
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin/
cp git-wad $(DESTDIR)$(PREFIX)/bin/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ cp git-wad.1 $(DESTDIR)$(PREFIX)/share/man/man1
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/git-wad
+ rm -f $(DESTDIR)$(PREFIX)/share/man/man1/git-wad.1
lint:
shellcheck -o all git-wad