aboutsummaryrefslogtreecommitdiff
path: root/man/Makefile
blob: 70d4e1b84f99635a81d7dbcc5f6238d74d6a4b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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