#
# makefile to create the links in the ups directory
# and make sure the catman pages are up-to-date
#
FILES = README
MANPAGES = telephone.1

all:
	for file in $(FILES)                                              ;\
	do                                                                 \
	    test -f $$file || ln -sf ../$$file ./$$file                   ;\
	done;
	for file in $(MANPAGES)                                           ;\
	do                                                                 \
	    test -f toman/catman/$$file && rm toman/catman/$$file         ;\
	    nroff -man toman/man/$$file > toman/catman/$$file             ;\
	done;

