include ../conf/dp.conf
include ../Makefile.conf

CRON_FILES=dp.crontab daily monthly
PROGS=dp.crontab
INST_FILES=${DPCRON_DIR}/dp.crontab	\
	   ${DPCRON_DIR}/daily		\
	   ${DPCRON_DIR}/monthly

all:	$(PROGS)

dp.crontab:	dp.crontab.sed ../conf/dp.conf
	. ../conf/dp.conf;	\
	sed "s,\$$DPCRON_DIR,$$DPCRON_DIR," < dp.crontab.sed > dp.crontab
    

install: ${INST_FILES}

${DPCRON_DIR}/dp.crontab:	dp.crontab
	../conf/install -m 555 -f ${DPCRON_DIR} dp.crontab
${DPCRON_DIR}/daily:		daily
	../conf/install -m 555 -f ${DPCRON_DIR} daily
${DPCRON_DIR}/monthly:		monthly
	../conf/install -m 555 -f ${DPCRON_DIR} monthly

clean:

lint:

depend:

undepend:
