at 22.05-pre 753 B view raw
1.PHONY: all 2all: manual-combined.xml 3 4.PHONY: debug 5debug: generated manual-combined.xml 6 7manual-combined.xml: generated *.xml **/*.xml 8 rm -f ./manual-combined.xml 9 nix-shell --pure -Q --packages xmloscopy \ 10 --run "xmloscopy --docbook5 ./manual.xml ./manual-combined.xml" 11 12.PHONY: format 13format: 14 nix-shell --pure -Q --packages xmlformat \ 15 --run "find ../../ -iname '*.xml' -type f -print0 | xargs -0 -I{} -n1 \ 16 xmlformat --config-file '../xmlformat.conf' -i {}" 17 18.PHONY: fix-misc-xml 19fix-misc-xml: 20 find . -iname '*.xml' -type f \ 21 -exec ../varlistentry-fixer.rb {} ';' 22 23.PHONY: clean 24clean: 25 rm -f manual-combined.xml generated 26 27generated: 28 nix-build ../../release.nix \ 29 --attr manualGeneratedSources.x86_64-linux \ 30 --out-link ./generated