aboutsummaryrefslogtreecommitdiff
path: root/xA/Makefile
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-09 16:07:16 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-09 17:20:21 +0100
commit032c2478d1e725f86ee3f204bb9b661830c3a913 (patch)
treef6118f2b4cd3fa80c321955938722385797e4d65 /xA/Makefile
parent040985719870c3bed3962f4a0cfd43e01592ebab (diff)
downloadxK-032c2478d1e725f86ee3f204bb9b661830c3a913.tar.gz
xK-032c2478d1e725f86ee3f204bb9b661830c3a913.tar.xz
xK-032c2478d1e725f86ee3f204bb9b661830c3a913.zip
WIP: xA: think up an icon
Diffstat (limited to 'xA/Makefile')
-rw-r--r--xA/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/xA/Makefile b/xA/Makefile
index 0a1b90e..cd33028 100644
--- a/xA/Makefile
+++ b/xA/Makefile
@@ -1,14 +1,16 @@
.POSIX:
.SUFFIXES:
+.SUFFIXES: .png .svg
AWK = env LC_ALL=C awk
tools = ../liberty/tools
-outputs = FyneApp.toml xA proto.go
+outputs = FyneApp.toml xA proto.go xA.png xA-highlighted.png
all: $(outputs)
FyneApp.toml: ../xK-version
printf "\
[Details]\n\
+ Icon = 'xA.png'\n\
Name = 'xA'\n\
ID = 'name.janouch.xA'\n\
Version = '$$(cat ../xK-version)'\n\
@@ -17,6 +19,8 @@ FyneApp.toml: ../xK-version
[LinuxAndBSD]\n\
GenericName = 'IRC Client'\n\
Categories = ['Network', 'Chat', 'IRCClient']\n" > $@
+.svg.png:
+ rsvg-convert --output=$@ -- $<
xA: xA.go proto.go ../xK-version
go build -ldflags "-X 'main.projectVersion=$$(cat ../xK-version)'" -o $@ \
-gcflags=all="-N -l"