[Goodies-commits] r4565 - in xfce4-dict/trunk: . lib
Enrico Troeger
enrico at xfce.org
Mon Apr 14 20:47:19 CEST 2008
Author: enrico
Date: 2008-04-14 18:47:19 +0000 (Mon, 14 Apr 2008)
New Revision: 4565
Modified:
xfce4-dict/trunk/ChangeLog
xfce4-dict/trunk/lib/Makefile.am
Log:
Fix make distcheck.
Avoid creation of inline-icon.h during a normal build.
Modified: xfce4-dict/trunk/ChangeLog
===================================================================
--- xfce4-dict/trunk/ChangeLog 2008-04-14 17:40:54 UTC (rev 4564)
+++ xfce4-dict/trunk/ChangeLog 2008-04-14 18:47:19 UTC (rev 4565)
@@ -1,3 +1,9 @@
+2008-04-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * Fix make distcheck.
+ * Avoid creation of inline-icon.h during a normal build.
+
+
2008-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Fix broken panel plugin desktop file.
Modified: xfce4-dict/trunk/lib/Makefile.am
===================================================================
--- xfce4-dict/trunk/lib/Makefile.am 2008-04-14 17:40:54 UTC (rev 4564)
+++ xfce4-dict/trunk/lib/Makefile.am 2008-04-14 18:47:19 UTC (rev 4565)
@@ -1,15 +1,9 @@
-inline-icon.h: $(top_srcdir)/xfce4-dict.svg
- gdk-pixbuf-csource --raw --name=dict_icon_data $(top_srcdir)/xfce4-dict.svg > $(srcdir)/inline-icon.h
-
-
noinst_LIBRARIES = \
libdict.a
libdict_a_SOURCES = \
- inline-icon.h \
- popup_def.h \
libdict.h \
aspell.c \
aspell.h \
@@ -28,3 +22,19 @@
$(LIBXFCE4PANEL_CFLAGS) \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
@GTHREAD_CFLAGS@
+
+noinst_DATA = \
+ inline-icon.h
+
+EXTRA_DIST = \
+ inline-icon.h
+
+if MAINTAINER_MODE
+# the target isn't named as the header file on
+# purpose to avoid automatic creation of the file
+# while building
+inline-icon: $(top_srcdir)/xfce4-dict.svg
+ gdk-pixbuf-csource --raw \
+ --name=dict_icon_data \
+ $(top_srcdir)/xfce4-dict.svg > $(srcdir)/inline-icon.h
+endif
More information about the Goodies-commits
mailing list