# BSDI	makefile,v 1.1.1.1 1996/01/02 16:50:58 polk Exp

#
# TIFF is built using the regular distribution (basically with no
# modifications.  While it won't build from the CDROM, it's a real 
# painful one to merge to BSD format Makefiles and we want to keep
# it up-to-date so we punt...
#

all:
	make -f Makefile MAKEFILE=Makefile all

install:
	make -f Makefile ROOT=${DESTDIR} install
	( cd man; for i in *.1; do \
		groff -mtty-char -Tascii -man $$i > \
	    		/usr/contrib/man/cat1/`basename $$i .1`.0; \
	done; \
	for i in *.3t; do \
		groff -mtty-char -Tascii -man $$i > \
	    		/usr/contrib/man/cat3/`basename $$i .3t`.0; \
	done )

depend:
	if [ ! -f Makedepend ]; then ;\
		./configure; \
	fi

clean:
	make -f Makefile clean

cleandir:
	make -f Makefile clean

obj objdir tags mansrcinstall:
