aboutsummaryrefslogtreecommitdiff
path: root/man/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-24 11:48:33 +0000
committerRoy Marples <roy@marples.name>2007-12-24 11:48:33 +0000
commitfcb7ab641cc974d26b419658bf740dbc1168f935 (patch)
treeeaf31b17765ad17eab5df8703352b41305966d9b /man/Makefile
parent851cf1098625c10235ac60d2f15159df53abfd58 (diff)
Add a man page for einfo.3
Diffstat (limited to 'man/Makefile')
-rw-r--r--man/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/man/Makefile b/man/Makefile
index ddc38a9b..70d4e1b8 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -1,5 +1,16 @@
-DIR = /usr/share/man/man8
-INC = $(CONTENTS)
+DIR = /usr/share/man
+MAN3 = einfo.3
+MAN8 = start-stop-daemon.8 rc.8 rc-update.8 runscript.8
TOPDIR = ..
include $(TOPDIR)/default.mk
+
+install::
+ $(INSTALL) -d $(DESTDIR)/$(DIR)/man3
+ for man in $(MAN3); do \
+ $(INSTALL) -m 0644 "$$man" $(DESTDIR)/$(DIR)/man3 || exit $$?; \
+ done
+ $(INSTALL) -d $(DESTDIR)/$(DIR)/man8
+ for man in $(MAN8); do \
+ $(INSTALL) -m 0644 "$$man" $(DESTDIR)/$(DIR)/man8 || exit $$?; \
+ done