summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 62a9a16..883deab 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,9 @@ install: XD
mkdir -p $(PREFIX)/bin
cp -f XD $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/XD
+ mkdir -p $(MANDIR)/man1
+ cp -f XD.1 $(MANDIR)/man1
+ chmod 644 $(PREFIX)/man1/XD.1
uninstall: XD
- rm -f $(PREFIX)/bin/XD
+ rm -f $(PREFIX)/bin/XD $(MANDIR)/man1/XD.1