# Generated automatically from Makefile.in by configure.
# $Id: //depot/Teapop/0.3/man/Makefile.in#4 $
#
prefix		= /usr/local
mandir		= ${prefix}/man
sysconfdir	= ${prefix}/etc

CHMOD    = /usr/local/bin/chmod
INSTALL  = /usr/bin/install -c -o root -g wheel
MV       = /usr/local/bin/mv
RM       = /usr/local/bin/rm
SED      = /usr/local/bin/sed

build:
	@ echo Creating example teapop.8
	@ ${SED} -e 's%@SYSCONFDIR@%${sysconfdir}%g'			\
		 -e 's/@DATE@/"April, 2001"/'				\
		teapop.8.in > teapop.8

install: build
	${INSTALL} -d ${DESTDIR}/${mandir}/man8;			\
	${INSTALL} teapop.8 ${DESTDIR}/${mandir}/man8;			\
	${CHMOD} 0755 ${DESTDIR}/${mandir}/man8/teapop.8;		\

makefile: ../config/timestamp
	@ echo Updating Makefile
	@ if [ -f Makefile.tmp ]; then					\
		echo "Please remove Makefile.tmp";			\
		false;							\
	fi
	@ ${MV} Makefile Makefile.tmp
	@ ${SED} -e 's%^INSTALL *= *\.\..*%INSTALL  = ../config/install-sh -c%'\
		Makefile.tmp > Makefile
	@ ${RM} Makefile.tmp

../config/timestamp:
	@ echo Please run the configure script first
	@ false

depend:

clean:
	${RM} -f teapop.8

distclean: clean
	${RM} -f Makefile


syntax highlighted by Code2HTML, v. 0.9.1