From c73f9e2632f9614bba748aed857e2a648126a963 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 20 Apr 2017 20:16:48 +0200 Subject: Change resource paths to be relative to the plugingui folder instead of the resources folder. Make rcgen run atomatically to re-generate resource_data.cc if one of the resource files changes. --- plugingui/Makefile.am | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'plugingui/Makefile.am') diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index b6ece08..83789b8 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -1,8 +1,33 @@ noinst_PROGRAMS = plugingui rcgen noinst_LTLIBRARIES = libdggui.la -resource_data.cc : rcgen - (cd resources; ../rcgen * ../../ABOUT ../../AUTHORS ../../COPYING > ../resource_data.cc) +RES = \ + resources/bg.png \ + resources/bypass_button.png \ + resources/font.png \ + resources/fontemboss.png \ + resources/knob.png \ + resources/logo.png \ + resources/png_error \ + resources/progress.png \ + resources/pushbutton.png \ + resources/sidebar.png \ + resources/slider.png \ + resources/switch_back_off.png \ + resources/switch_back_on.png \ + resources/switch_front.png \ + resources/tab.png \ + resources/thinlistbox.png \ + resources/topbar.png \ + resources/toplogo.png \ + resources/vertline.png \ + resources/widget.png \ + ../ABOUT \ + ../AUTHORS \ + ../COPYING + +resource_data.cc : rcgen $(RES) + ./rcgen $(RES) > resource_data.cc libdggui_la_CPPFLAGS = \ $(GUI_CPPFLAGS) \ -- cgit v1.2.3