dockapps/wmcdplay/Makefile.am
Doug Torrance 1b1afe2d37 wmcdplay: Install art script.
Changes include:
- The artwork files XPM/*.art are now created during build time and
  therefore have been removed from the repository.
- The script which creates them is now installed alongside the art files in
  case users would like to design their own artwork.
- The "makeall" script, whose function has been replaced by the Makefile,
  has been removed.
- The default artwork can now be chosen at compile time by the --with-art
  option to ./configure.
- Changes have been documented in ARTWORK.

Inspired in part by the Debian patch [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/install_art_scripts.patch/
2014-12-18 18:43:10 +00:00

18 lines
551 B
Makefile

bin_PROGRAMS = wmcdplay
wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc XPM/standard.art
BUILT_SOURCES = XPM/standard.art
AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS)
AM_CPPFLAGS = -DSYSARTDIR=\"$(pkgdatadir)\"
LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS)
ART = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art
pkgdata_DATA = $(ART)
pkgdata_SCRIPTS = XPM/makeart
CLEANFILES = $(ART) XPM/standard.art
XPM/%.art:
cd XPM && ./makeart $*
XPM/standard.art: XPM/@defaultart@.art
cd XPM && ln -s @defaultart@.art standard.art