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:
delphij 2014-05-06 21:30:58 +00:00
parent 66aaa46593
commit 4e7882acda

@ -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