Commit: fc9077997c920173f384e90a592767520b238276
Parent: 6b90803910cfd9fdfcd323c4c3260764612498aa
Author: Randy Palamar
Date: Sat, 6 May 2023 15:00:34 -0600
also install doas.1
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -31,12 +31,16 @@ install: doas
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f doas $(DESTDIR)$(PREFIX)/bin
chmod 4555 $(DESTDIR)$(PREFIX)/bin/doas
+ mkdir -p $(DESTDIR)$(MANPREFIX)/man1
+ cp doas.1 $(DESTDIR)$(MANPREFIX)/man1/
+ chmod 644 $(DESTDIR)$(MANPREFIX)/man1/doas.1
mkdir -p $(DESTDIR)$(MANPREFIX)/man5
cp doas.conf.5 $(DESTDIR)$(MANPREFIX)/man5/
chmod 644 $(DESTDIR)$(MANPREFIX)/man5/doas.conf.5
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/doas
+ rm -f $(DESTDIR)$(MANPREFIX)/man1/doas.1
rm -f $(DESTDIR)$(MANPREFIX)/man5/doas.conf.5
.PHONY: all clean install uninstall