From 1103b59f34249b494f301d9316c03cd471f4719c Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 18 Feb 2021 07:27:35 +0100 Subject: [PATCH] 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2496f04a..ba7eb560 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,12 @@ validate: $(XMLFILES) comps.rng sort: @# 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 \ + if [[ "$$f" == 'comps-eln.xml.in' ]]; then \ + continue; \ + fi; \ xsltproc --novalid -o $$f comps-cleanup.xsl $$f; \ RES=$$(($$RES + $$?)); \ done; exit $$RES