summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2022-04-28 17:28:21 +0200
committerSimon Steinbeiß <simon.steinbeiss@elfenbeinturm.at>2022-04-28 18:11:33 +0200
commite1918dd85d47b3f896569b5aa5fa279a96ef0b20 (patch)
tree76f23521f3ce9200e7aa0ffb72d2d580715f70f2 /Makefile.in
parentb7e5eeb35d6a39bd4a69d6d455d4b4afeb6d2029 (diff)
downloadelementary-xfce-e1918dd85d47b3f896569b5aa5fa279a96ef0b20.tar.gz
Add GitHub action to test for dangling symlinks
Create a 'make test' target that skips the png optimization because that would be a waste of time in CI. Also the pngtheme.sh script now fails if dangling symlinks are detected.
Diffstat (limited to 'Makefile.in')
-rwxr-xr-xMakefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 3f5f0456..0565aa11 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -30,12 +30,14 @@ icon-caches:
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darker
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darkest
-build: builddir $(SUBDIRS)
+test: builddir $(SUBDIRS)
chmod +x ./svgtopng/pngtheme.sh
@./svgtopng/pngtheme.sh build/elementary-xfce
@./svgtopng/pngtheme.sh build/elementary-xfce-dark
@./svgtopng/pngtheme.sh build/elementary-xfce-darker
@./svgtopng/pngtheme.sh build/elementary-xfce-darkest
+
+build: test
@echo == Optimizing all icon pngs
@find build -type f -iname '*.png' | xargs optipng -strip all -silent