# $NetBSD: features.mk,v 1.3 2006/09/15 09:35:37 rillig Exp $ # This file is used in the language-specific versions. The following # variables may be set. # # INPUT_FILTER (default: ${CAT}) # A filter command that is applied to the template data. # # OUTPUT_FILTER (default: ${CAT}) # A filter command that is applied to the complete output file. # GENDOCS+= index.html INPUT_FILTER?= ${CAT} OUTPUT_FILTER?= ${CAT} index.html: pre table post gentab.awk @${ECHO} "[awk] gentab.awk -> ${.TARGET}" ${RUN} ( ${CAT} pre \ && ( ${INPUT_FILTER} ) < table | ${AWK} -f gentab.awk \ && ${CAT} post \ ) | ${OUTPUT_FILTER} > ${.TARGET}