[goobox] save pixbufs.h in the build directory
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goobox] save pixbufs.h in the build directory
- Date: Mon, 14 Dec 2009 11:52:02 +0000 (UTC)
commit 8c6c21e75ab5ecb1e11014a3be43cc54b72a3106
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Dec 14 12:50:29 2009 +0100
save pixbufs.h in the build directory
[bug #604437]
po/POTFILES.in | 1 -
src/icons/Makefile.am | 17 ++++++++++-------
2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3f95a61..f04791e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -58,7 +58,6 @@ src/gtk-file-chooser-preview.c
src/gtk-file-chooser-preview.h
src/gtk-utils.c
src/gtk-utils.h
-src/icons/pixbufs.h
src/main.c
src/main.h
src/metadata.c
diff --git a/src/icons/Makefile.am b/src/icons/Makefile.am
index a12531c..2e05b77 100644
--- a/src/icons/Makefile.am
+++ b/src/icons/Makefile.am
@@ -1,14 +1,17 @@
-IMAGES= \
- reset-16.png \
+IMAGES= \
+ reset-16.png \
reset-24.png
-noinst_DATA = pixbufs.h
-CLEANFILES = $(noinst_DATA)
+BUILT_SOURCES = pixbufs.h
+CLEANFILES = pixbufs.h
pixbufs.h: $(IMAGES)
- gdk-pixbuf-csource --raw --build-list reset_16_rgba $(srcdir)/reset-16.png > $(srcdir)/pixbufs.h
- gdk-pixbuf-csource --raw --build-list reset_24_rgba $(srcdir)/reset-24.png >> $(srcdir)/pixbufs.h
+ gdk-pixbuf-csource --raw --build-list reset_16_rgba $(srcdir)/reset-16.png > $@
+ gdk-pixbuf-csource --raw --build-list reset_24_rgba $(srcdir)/reset-24.png >> $@
-EXTRA_DIST = $(IMAGES) pixbufs.h
+EXTRA_DIST = $(IMAGES) $(BUILT_SOURCES)
+
+dist-hook:
+ cd $(distdir); rm -f $(CLEANFILES)
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]