`# $Id: Makefile.host,v 1.3 2012/07/16 18:51:58 ksb Exp $ # platform recipe for tempstats, msrc 2008 'changequote([,])dnl [Q=' ]changequote(`,') `PROG= tempstats BIN= ${DESTDIR}/usr/local/libexec LIB= ${DESTDIR}/usr/local/lib DOC= ${DESTDIR}/usr/local/man SRCl= SRCs= tempstats.pl MAN= OTHER= README TODO SOURCE= Makefile ITO.spec ${OTHER} ${MAN} ${SRCl} ${SRCs} all: ${PROG} clean: FRC rm -f Makefile.bak ${PROG} prog.[cho] a.out core errs lint.out tags tempstats: tempstats.pl perl -p -e ${Q}if (! $$^V) { s#^(use\slib)(\s.*\$$\^V.*?\,)(\n)#$$1$$3#; }${Q} $@ perl -w -c $@ && chmod +x $@ deinstall: ${MAN} ${DOC} FRC install -R ${BIN}/${PROG} mkcat -r${DOC} -D ${MAN} depend: FRC dirs: ${BIN} ${LIB} distrib: FRC distrib -c ${BIN}/${PROG} HOST install: all dirs FRC install -c ${PROG} ${BIN}/${PROG} lint: FRC mkcat: ${MAN} ${DOC} FRC mkcat -r${DOC} ${MAN} print: source FRC lpr -J"${PROG} source" ${SOURCE} source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC ${BIN} ${LIB}: install -dr $@ ${SOURCE}: co -q $@ FRC: # DO NOT DELETE this line, maketd depends on it 'dnl