From 8976d1106ac40e74b7bdc4d0401003126cee53d8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 22 Nov 2016 20:19:26 +0100 Subject: Generate resource_data.cc in build system. --- plugingui/Makefile.am.plugingui | 3 +++ plugingui/resources/createrc.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100755 plugingui/resources/createrc.sh (limited to 'plugingui') 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 -- cgit v1.2.3