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

homespool       = nope
mailspool       = /var/mail

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.passwd;				\
	if [ "${homespool}" != "nope" ]; then				\
		${SED} -e 's%@WHEREMAILIS@%~/${homespool}%g'		\
		    teapop.passwd.in > teapop.passwd ;			\
	else								\
		${SED} -e 's%@WHEREMAILIS@%${mailspool}%g'		\
		    teapop.passwd.in > teapop.passwd ;			\
	fi

install: build
	@echo Installing teapop.passwd.sample;
	${INSTALL} -d ${sysconfdir}; \
	${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample; \

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.passwd

distclean: clean
	${RM} -f Makefile


syntax highlighted by Code2HTML, v. 0.9.1