head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	98.05.24.22.50.27;	author morgan;	state Exp;
branches;
next	1.3;

1.3
date	97.05.14.05.16.29;	author morgan;	state Exp;
branches;
next	1.2;

1.2
date	97.05.04.05.31.57;	author morgan;	state Exp;
branches;
next	1.1;

1.1
date	97.04.28.00.54.52;	author morgan;	state Exp;
branches;
next	;


desc
@for installing manuals
@


1.4
log
@updated for 2.1.104 release
@
text
@#
# $Id: Makefile,v 1.3 1997/05/14 05:16:29 morgan Exp morgan $
#
# Makefile for libcap documentation
#

topdir=$(shell pwd)/..
include $(topdir)/Make.Rules

MAN2S = capget.2 capset.2
MAN3S = cap_init.3 cap_free.3 cap_dup.3 \
	cap_clear.3 cap_get_flag.3 cap_set_flag.3 \
	cap_get_proc.3 cap_set_proc.3 \
	cap_copy_ext.3 cap_size.3 cap_copy_int.3 \
	cap_from_text.3 cap_to_text.3 _cap_names.3 \
	capsetp.3 capgetp.3
#MAN8S = getcap.8 setcap.8

MANS = $(MAN2S) $(MAN3S) $(MAN8S)

all: $(MANS)

install:
	mkdir -p -m 755 $(MANDIR)/man2 $(MANDIR)/man3
	for man in \
		$(MANDIR)/man2 $(MAN2S) \
		$(MANDIR)/man3 $(MAN3S) \
		; \
	do \
		case $$man in \
		/*)	sub=$$man ; continue ;; \
		esac; \
		install -m 644 $$man $$sub ; \
	done

clean:
	$(LOCALCLEAN)

@


1.3
log
@autoconf rearrangement from Zefram
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1997/05/04 05:31:57 morgan Exp morgan $
d10 1
a10 2
MAN2S = _setproccap.2 _getproccap.2 \
	_setfilecap.2 _getfilecap.2 _fsetfilecap.2 _fgetfilecap.2
a12 1
	cap_get_file.3 cap_set_file.3 cap_get_fd.3 cap_set_fd.3 \
d15 3
a17 2
	cap_from_text.3 cap_to_text.3 _cap_names.3
MAN8S = getcap.8 setcap.8
d24 1
a24 1
	mkdir -p -m 755 $(MANDIR)/man2 $(MANDIR)/man3 $(MANDIR)/man8
d28 1
a28 1
		$(MANDIR)/man8 $(MAN8S) ; \
@


1.2
log
@cleaner
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1997/04/28 00:54:52 morgan Exp morgan $
d7 1
a7 1
topdir=..
d34 1
a34 1
		install -m 644 -o root -g root $$man $$sub ; \
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id$
d26 10
a35 3
	install -m 644 -o root -g root $(MAN2S) $(MANDIR)/man2
	install -m 644 -o root -g root $(MAN3S) $(MANDIR)/man3
	install -m 644 -o root -g root $(MAN8S) $(MANDIR)/man8
@
