images: run png-cleanup.pl on all and verify on install

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
Christoph Heiss 2024-02-23 14:18:54 +01:00 committed by Thomas Lamprecht
parent 9fc9adae61
commit 4af6e95585
9 changed files with 5 additions and 2 deletions

View File

@ -21,6 +21,7 @@ all: index.html
.PHONY: verify-images .PHONY: verify-images
verify-images: png-verify.pl verify-images: png-verify.pl
for i in ./images/screenshot/*.png; do ./png-verify.pl $$i; done for i in ./images/screenshot/*.png; do ./png-verify.pl $$i; done
for i in ./images/installer/*.png; do ./png-verify.pl $$i; done
ADOC_SOURCES_GUESS=$(filter-out %-synopsis.adoc %-opts.adoc %-table.adoc, $(wildcard *.adoc)) ADOC_SOURCES_GUESS=$(filter-out %-synopsis.adoc %-opts.adoc %-table.adoc, $(wildcard *.adoc))
.pmg-doc-depends link-refs.json: $(ADOC_SOURCES_GUESS) scan-adoc-refs .pmg-doc-depends link-refs.json: $(ADOC_SOURCES_GUESS) scan-adoc-refs
@ -199,8 +200,10 @@ doc-install: index.html $(API_VIEWER_SOURCES) verify-images
install -dm755 $(DESTDIR)/usr/share/doc/$(DOC_PACKAGE) install -dm755 $(DESTDIR)/usr/share/doc/$(DOC_PACKAGE)
install -m 0644 index.html $(INDEX_INCLUDES) $(DESTDIR)/usr/share/$(DOC_PACKAGE) install -m 0644 index.html $(INDEX_INCLUDES) $(DESTDIR)/usr/share/$(DOC_PACKAGE)
# install screenshot images # install screenshot images
install -dm755 $(DESTDIR)/usr/share/$(DOC_PACKAGE)/images/screenshot for d in screenshot installer; do \
install -m 0644 images/screenshot/*.png $(DESTDIR)/usr/share/$(DOC_PACKAGE)/images/screenshot install -dm755 $(DESTDIR)/usr/share/$(DOC_PACKAGE)/images/$$d; \
install -m 0644 images/$$d/*.png $(DESTDIR)/usr/share/$(DOC_PACKAGE)/images/$$d; \
done
# install api doc viewer # install api doc viewer
install -dm755 $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer install -dm755 $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer
install -m 0644 $(API_VIEWER_SOURCES) $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer install -m 0644 $(API_VIEWER_SOURCES) $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB