`# $Id: data,v 5.2 2012/12/14 20:43:41 ksb Exp $ # platform recipe for %% program name %% TOP=%%/usr/local or pick a local root%% LIB=${DESTDIR}${TOP}/%% lib directory for data files %% DOC=${DESTDIR}${TOP}/%% man for the local manual page root %% DATA= %% library files %% MAN= %% the manual page for this tool %% OTHER= README %% other files in this directory %% SOURCE= Makefile ${OTHER} ${MAN} ${DATA} all: ${DATA} clean: FRC rm -f Makefile.bak a.out core errs lint.out tags deinstall: ${MAN} ${DOC} FRC for dink in ${DATA} ;\ do \ install -Rm 644 ${LIB}/$$dink ;\ done mkcat -r${DOC} -D ${MAN} depend: FRC dirs: ${LIB} distrib: FRC distrib -c ${LIB} HOST install: all dirs FRC install -cm 644 ${DATA} ${LIB} lint: FRC mkcat: ${MAN} ${DOC} FRC mkcat -r${DOC} ${MAN} print: source FRC lpr -J"${LIB} source" ${SOURCE} source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC ${LIB}: install -dr $@ ${SOURCE}: co -q $@ FRC: 'dnl