aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 253d015..98dc765 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ sxiv: $(OBJFILES)
install: all
install -D -m 4755 -o root -g root sxiv $(PREFIX)/sbin/sxiv
+ mkdir -p $(PREFIX)/share/man/man1
+ sed "s/VERSION/$(VERSION)/g" dwm.1 > $(PREFIX)/share/man/man1/sxiv.1
+ chmod 644 $(PREFIX)/share/man/man1/sxiv.1
clean:
rm -f sxiv *.o