commit 1ff39f44d5dc7413c6f282c1bbb52344a7e643fd
parent 8a5ccabcf57f5832ec0acf8ec1a76b8615deefaf
Author: Balduin Dettling <balduindettling@gmail.com>
Date: Wed, 28 Dec 2016 09:29:34 +0100
Simplified man page install (@livibetter)
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -33,9 +33,7 @@ clean:
install: $(TARGET)
cp $(TARGET) $(BINDIR)/$(TARGET)
- mkdir -p $(MANDIR)/man1
- cp -f $(MAN1) $(MANDIR)/man1
- chmod 644 $(MANDIR)/man1/$(MAN1)
+ install -D -m 644 $(MAN1) $(MANDIR)/man1/$(MAN1)
uninstall:
rm -f $(BINDIR)/$(TARGET)