[dia] [build] Fix make rule for dia-lib-icons.h
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [build] Fix make rule for dia-lib-icons.h
- Date: Sun, 17 Mar 2013 15:10:30 +0000 (UTC)
commit 928429562c5d31558ce980982dafd9f4f7620676
Author: Hans Breuer <hans breuer org>
Date: Mon Oct 15 15:07:25 2012 +0200
[build] Fix make rule for dia-lib-icons.h
there is probably some smarter way than duplicating this
but having the right dependecy for dia-lib-icons.h was
broken since 2005 - and no one cared;)
lib/Makefile.am | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c2cc383..827610f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -47,9 +47,16 @@ ICON_PNG_PAIRS= \
dia_unbroken_chain_icon $(srcdir)/pixmaps/unbroken-chain.png \
stdpath_icon $(srcdir)/pixmaps/standard-path.png
-# Note that this doesn't seem to get run automatically. It should, but
-# I'm not gonna chase goblins right now.
-dia-lib-icons.h:
+# there is probably some smarter way than duplicating this
+# but having the right dependecy for dia-lib-icons.h was
+# broken since 2005 - and no one cared;)
+ICON_PNGS= \
+ $(srcdir)/pixmaps/broken.png \
+ $(srcdir)/pixmaps/broken-chain.png \
+ $(srcdir)/pixmaps/unbroken-chain.png \
+ $(srcdir)/pixmaps/standard-path.png
+
+dia-lib-icons.h: $(ICON_PNGS)
gdk-pixbuf-csource --build-list $(ICON_PNG_PAIRS) > dia-lib-icons.h
BUILT_SOURCES = dia-lib-icons.h diamarshal.h diamarshal.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]