Sort .ALLSRC before concatenating files together. This makes sure that the

file are always built the same.

(Note that Header and Localstuff must appear first and in that order, the
sorting does not affect as a coincident effect).

Submitted by:	sjg
MFC after:	3 days
This commit is contained in:
Xin LI 2014-05-06 21:30:58 +00:00
parent 7d155880ee
commit 28ab4bb8f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265464

View File

@ -32,7 +32,7 @@ MAGFILES= ${CONTRDIR}/Header\
${CONTRDIR}/Magdir/[a-z]*
magic: ${MAGFILES}
cat ${.ALLSRC} > ${.TARGET}
cat ${.ALLSRC:O} > ${.TARGET}
magic.mgc: mkmagic magic
./mkmagic magic