Build tools with Meson as well
This commit is contained in:
5
tools/.gitignore
vendored
5
tools/.gitignore
vendored
@@ -1,5 +0,0 @@
|
||||
/pnginfo
|
||||
/jpeginfo
|
||||
/tiffinfo
|
||||
/webpinfo
|
||||
/bmffinfo
|
||||
@@ -1,15 +0,0 @@
|
||||
SHELL = /bin/sh
|
||||
# libjq 1.6 lacks a pkg-config file, and there is no release in sight.
|
||||
# libjq 1.6 is required.
|
||||
CFLAGS = -g -O2 -Wall -Wextra `pkg-config --cflags $(deps)`
|
||||
LDLIBS = -ljq `pkg-config --libs $(deps)`
|
||||
|
||||
deps = libpng
|
||||
targets = pnginfo jpeginfo tiffinfo webpinfo bmffinfo
|
||||
|
||||
all: $(targets)
|
||||
$(targets): info.h
|
||||
clean:
|
||||
rm -f $(targets)
|
||||
|
||||
.PHONY: all clean
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
# Remove thumbnails with URIs pointing to at this moment non-existing files.
|
||||
make pnginfo
|
||||
ninja pnginfo
|
||||
|
||||
pnginfo=$(pwd)/pnginfo cache_home=${XDG_CACHE_HOME:-$HOME/.cache}
|
||||
for size in normal large x-large xx-large; do
|
||||
|
||||
Reference in New Issue
Block a user