Skip to content

Instantly share code, notes, and snippets.

@worldofpeace
Created February 24, 2021 20:46
Show Gist options
  • Save worldofpeace/b90a08d39696ce8de81d76a5eed69c59 to your computer and use it in GitHub Desktop.
Save worldofpeace/b90a08d39696ce8de81d76a5eed69c59 to your computer and use it in GitHub Desktop.
diff --git a/icons/Makefile b/icons/Makefile
index 9fa5b30..41cc1b4 100755
--- a/icons/Makefile
+++ b/icons/Makefile
@@ -7,10 +7,12 @@ sizes = 16 24 32 48 64 72 96 128 256 512 1024
theme = hicolor
category = apps
-icons = $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake.png) \
- scalable/$(category)/nix-snowflake.svg \
- $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake-white.png) \
- scalable/$(category)/nix-snowflake-white.svg
+define icons
+ $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake.png) \
+ scalable/$(category)/nix-snowflake.svg \
+ $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake-white.png) \
+ scalable/$(category)/nix-snowflake-white.svg
+endef
install_dest = $(DESTDIR)$(prefix)/share/icons/$(theme)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment