diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-11-22 20:19:26 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-01-21 14:51:30 +0100 |
commit | 8976d1106ac40e74b7bdc4d0401003126cee53d8 (patch) | |
tree | 2e898ba8e03f7ef0928c64591b8ae797951f67f4 /plugingui | |
parent | 7127a38c7c15c6898dae3ac4ade2095e9daec29d (diff) |
Generate resource_data.cc in build system.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/Makefile.am.plugingui | 3 | ||||
-rwxr-xr-x | plugingui/resources/createrc.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui index eb3b96d..0e48f29 100644 --- a/plugingui/Makefile.am.plugingui +++ b/plugingui/Makefile.am.plugingui @@ -39,6 +39,9 @@ PLUGIN_GUI_SOURCES = \ $(top_srcdir)/plugingui/resource_data.cc \ $(top_srcdir)/plugingui/lodepng/lodepng.cpp +$(top_srcdir)/plugingui/resource_data.cc : $(top_srcdir)/plugingui/rcgen + (cd $(top_srcdir)/plugingui/resources; ../rcgen * > ../resource_data.cc) + PLUGIN_GUI_LIBS = $(GUI_LIBS) $(PTHREAD_LIBS) PLUGIN_GUI_CPPFLAGS = \ diff --git a/plugingui/resources/createrc.sh b/plugingui/resources/createrc.sh deleted file mode 100755 index 838713a..0000000 --- a/plugingui/resources/createrc.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -../rcgen *.png png_error > ../resource_data.cc |