aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d0ea5cb..cb74ac1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,11 @@ install: all
install -d $(TOP)/etc/X11/xinit.d
install -m755 enable_X11_numlock $(TOP)/usr/X11R6/bin
- install -m755 enable_X11_numlock.1 $(TOP)/usr/X11R6/man/man1/
+ install -m755 man/C/enable_X11_numlock.1 $(TOP)/usr/X11R6/man/man1/
+ for i in man/??* ; do \
+ install -d $(TOP)/usr/X11R6/man/`basename $$i`/man1 ; \
+ install -m 644 $$i/*.1 $(TOP)/usr/X11R6/man/`basename $$i`/man1 ; \
+ done
install -m755 numlock.init $(TOP)/$(INITRDDIR)/$(NAME)
install -m755 numlock.sh $(TOP)/etc/profile.d/