diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 23:20:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 23:20:09 -0300 |
commit | 4903d41b99555c45be569de1c20ba4035854c888 (patch) | |
tree | 3a9a75e59f45ef9e415b50e28af89fd2fc56bd34 /Makefile | |
download | clientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.gz clientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.bz2 clientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.xz clientdata-4903d41b99555c45be569de1c20ba4035854c888.zip |
Reinitialized git repository with Evol2 support
Major changes:
- Makefile
- Gitlab CI
- Network update
- Char Creation update
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..9b9ab9ba --- /dev/null +++ b/Makefile @@ -0,0 +1,53 @@ +# for pipefail +SHELL=/bin/bash +.SECONDARY: +.DELETE_ON_ERROR: + +XSLTPROC = xsltproc + +all: + @echo "Normal: build pipeline" + @echo "Standalone: check-png testxml testxml-full license icc" + @echo "Groups: build check pipeline" + + +check: check-xml check-png testxml + +PNGS = $(shell find . -type f -name "*.png") +check-png: $(patsubst %.png,out/%.png.ok,${PNGS}) + find . -name '*.png.ok' -delete + find . -name '*.png.out' -delete + find ./out/ -type d -delete +out/%.png.ok: out/%.png.out + grep '32-bit RGB+alpha, non-interlaced, ' $< > $@ +out/%.png.out: %.png + mkdir -p ${@D} + set -e -o pipefail; \ + pngcheck $< > $@ + +check-xml: + cd ../tools/testxml/ ; ./xsdcheck.sh ; cat errors.txt + +testxml: + cd ../tools/testxml/ ; ./testxml.py stfu + +testxml-full: + cd ../tools/testxml/ ; ./testxml.py silent + +client: build + +build: + cd ../tools/ ; make client + +license: + cd ../tools/licensecheck/ ; ./clientdata.sh + +icc: + cd ../tools/imagescheck/ ; ./icccheck.sh + +pipeline: check-xml + cd ../tools/testxml/ ; ./testxml.py silent |grep -v "Checking" + #echo "Now using imagemagic to verify images..." + #cd ../tools/imagescheck/ ; ./icccheck.sh + @echo "Now run `make check-png` to check PNG images. Use `make contrib` if contributor list must be updated." + @echo "Use `make icc` to verify for broken images, too." |