[PATCH 6/7] wmbiff: fix generation of XPM's from separate build-directory

1 view
Skip to first unread message

Jeremy Sowden

unread,
May 16, 2024, 7:46:26 AMMay 16
to Window Maker Dev
Signed-off-by: Jeremy Sowden <jer...@azazel.net>
---
wmbiff/wmbiff/Makefile.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/wmbiff/wmbiff/Makefile.am b/wmbiff/wmbiff/Makefile.am
index 4b9f9b84bf87..9116aa976cdc 100644
--- a/wmbiff/wmbiff/Makefile.am
+++ b/wmbiff/wmbiff/Makefile.am
@@ -115,14 +115,14 @@ distclean-local:

# remove colors, then substitute old colors, then repalletize
# for some reason $< doesn't always work.
-wmbiff-master-contrast.xpm: wmbiff-master-led.xpm Makefile
- egrep -v '^"[:%][[:space:]]c #' < wmbiff-master-led.xpm | \
+wmbiff-master-contrast.xpm: $(srcdir)/wmbiff-master-led.xpm Makefile
+ egrep -v '^"[:%][[:space:]]c #' < $(srcdir)/wmbiff-master-led.xpm | \
sed -e 's/:/./g' -e 's/%/$$/g' -e 's/ 15 / 13 /' | \
sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
> $@ || rm $@

-wmbiff-classic-master-contrast.xpm: wmbiff-classic-master-led.xpm Makefile
- egrep -v '^"[:%][[:space:]]c #' < wmbiff-classic-master-led.xpm | \
+wmbiff-classic-master-contrast.xpm: $(srcdir)/wmbiff-classic-master-led.xpm Makefile
+ egrep -v '^"[:%][[:space:]]c #' < $(srcdir)/wmbiff-classic-master-led.xpm | \
sed -e 's/:/./g' -e 's/%/$$/g' -e 's/ 15 / 13 /' | \
sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
> $@ || rm $@
--
2.43.0

Reply all
Reply to author
Forward
0 new messages