include ../Make.config

PROG		= man
MANPAGES	= cutoff.l dbdump.l dbpasswd.l dbroot.l dbs.l dbstat.l \
		  lincks.l monitor.l netserv.l t2lincks.l xlincks.l

# this is for our internal use.
LINCKS = /home/obelix2/labs/lincks

all:	$(PROG)

current:
	ln -s /home/obelix2/labs/lincks/Text/Release-Docs/SCCS
	sccs get $(MANPAGES)
	sccs get LINCKS.FAQ -G../LINCKS.FAQ
	/bin/rm SCCS

install:
	@ for i in $(MANPAGES) ;\
	do \
	if [ ! -d $(MANDIR) ] ; then \
		echo "Making directory $(MANDIR)"; \
		$(MKDIRHIER) $(MANDIR); \
		chmod 755 $(MANDIR); \
	fi; \
	echo installing $$i in $(MANDIR) ; \
	$(INSTALL) $(MANINSTALLFLAGS) $$i $(MANDIR) ; \
	done

depend:
	@ echo "nothing to depend"

clean:
	@ echo "nothing to clean"

$(PROG):
	@ echo "nothing to make"

