diff options
author | wiz <wiz@pkgsrc.org> | 2007-04-05 18:33:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-04-05 18:33:09 +0000 |
commit | 7eb1b7ffb76abfa8a600409ca930ad28f3d11ed4 (patch) | |
tree | 6411d2ee9086b66f4eaa5f46b813aa0c4b80e62b /mk/subst.mk | |
parent | 3224b904e554c2972f3039e6ed1104cff311caf0 (diff) | |
download | pkgsrc-7eb1b7ffb76abfa8a600409ca930ad28f3d11ed4.tar.gz |
Recognize XML files as text.
Diffstat (limited to 'mk/subst.mk')
-rw-r--r-- | mk/subst.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk index 5d2660d3b3f..00e4667b1e4 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -1,4 +1,4 @@ -# $NetBSD: subst.mk,v 1.45 2007/03/15 22:54:24 rillig Exp $ +# $NetBSD: subst.mk,v 1.46 2007/04/05 18:33:09 wiz Exp $ # # This Makefile fragment implements a general text replacement facility. # Package makefiles define a ``class'', for each of which a particular @@ -64,7 +64,7 @@ ECHO_SUBST_MSG?= ${STEP_MSG} _SUBST_IS_TEXT_FILE?= \ { ${TEST} -f "$$file" \ && ${FILE_CMD} "$$file" \ - | ${EGREP} "(executable .* script|shell script|text|Assembler source|libtool|Quake I or II world or extension)"; \ + | ${EGREP} "(executable .* script|shell script|text|Assembler source|libtool|Quake I or II world or extension|XML)"; \ } >/dev/null 2>&1 _SUBST_BACKUP_SUFFIX= .subst.sav |