diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2024-12-27 21:56:14 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2025-11-27 19:39:56 +0100 |
| commit | 63ff1bea9bb1e87a7e2643f680d04f2b9c00d072 (patch) | |
| tree | ca808833ae6b321a99de1292244024756f176edc /resources/Makefile | |
| parent | 1b2b4bb4f3ecc034a6e9364d8768e50b167a9680 (diff) | |
| download | tuxcmd-63ff1bea9bb1e87a7e2643f680d04f2b9c00d072.tar.xz | |
Port to GResource
Diffstat (limited to 'resources/Makefile')
| -rw-r--r-- | resources/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/Makefile b/resources/Makefile new file mode 100644 index 0000000..c781ec6 --- /dev/null +++ b/resources/Makefile @@ -0,0 +1,10 @@ +INPUT_FILE = icons.xml +GRESOURCE_FILE = icons.gresource +INC_FILE = icons.inc + +all:: + glib-compile-resources ${INPUT_FILE} + echo 'const gresource_icons: array of byte = (' > ${INC_FILE} + od -Anone -v -tx1 ${GRESOURCE_FILE} | sed 's/\([0-9a-f][0-9a-f]\)/$$\1,/g' >> ${INC_FILE} + truncate --size=-2 ${INC_FILE} + echo ');' >> ${INC_FILE} |
