diff --git a/wmcdplay/Makefile.am b/wmcdplay/Makefile.am index 8cbcfb4..1c3819c 100644 --- a/wmcdplay/Makefile.am +++ b/wmcdplay/Makefile.am @@ -1,4 +1,6 @@ bin_PROGRAMS = wmcdplay wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS) +AM_CPPFLAGS = -DSYSARTDIR=\"$(pkgdatadir)\" LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS) +pkgdata_DATA = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art diff --git a/wmcdplay/wmcdplay.cc b/wmcdplay/wmcdplay.cc index c60ef48..78c544b 100644 --- a/wmcdplay/wmcdplay.cc +++ b/wmcdplay/wmcdplay.cc @@ -20,7 +20,6 @@ #define CLASS "WMCDPlay" // User defines - custom -#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/" #define CDDEV "/dev/cdrom" #define BACKCOLOR "#282828" #define LEDCOLOR "green"