Disable sorting of comps-eln.xml.in in make sort.

This is follow-up of previous commit which reverted sorting
of the Fedora ELN comps file. The Fedora ELN comps file is
currently sorted manually according to needs of the Fedora
ELN SIG.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
Jan Kaluza 2021-02-18 07:27:35 +01:00 committed by sgallagh
parent ba99feb323
commit 1103b59f34

View File

@ -18,7 +18,12 @@ validate: $(XMLFILES) comps.rng
sort: sort:
@# Run xsltproc on each xml.in file and exit with non-zero if any sorting fails @# Run xsltproc on each xml.in file and exit with non-zero if any sorting fails
@# The comps-eln.xml.in is not sorted alphabetically but manually
@# based on the need needs of Fedora ELN SIG.
@RES=0; for f in $(XMLINFILES); do \ @RES=0; for f in $(XMLINFILES); do \
if [[ "$$f" == 'comps-eln.xml.in' ]]; then \
continue; \
fi; \
xsltproc --novalid -o $$f comps-cleanup.xsl $$f; \ xsltproc --novalid -o $$f comps-cleanup.xsl $$f; \
RES=$$(($$RES + $$?)); \ RES=$$(($$RES + $$?)); \
done; exit $$RES done; exit $$RES