* improve header-view a bit. make columns reorderable. o
[modest] / src / gtk-glade / Makefile.am
index 47af953..fbb4d3b 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Makefile.am
-# Time-stamp: <2006-04-30 13:49:49 (djcb)>
+# Time-stamp: <2006-05-29 23:12:07 (djcb)>
 #
 #
 # use Automake 'trick' ==> convenience static libraries, which
@@ -10,20 +10,21 @@ INCLUDES=\
        $(MODEST_GSTUFF_CFLAGS) \
        $(MODEST_GTK_CFLAGS) \
        $(MODEST_GLADE_CFLAGS) \
-       $(MODEST_TINYMAIL_CFLAGS)
+       $(MODEST_TINYMAIL_CFLAGS)\
+       -DPREFIX=\"@prefix@\"
 
 noinst_LTLIBRARIES=\
        libmodest-ui.la
 
-GLADE_SOURCE=\
-       modest.glade.h
-
 GLADE_FILES=\
-       modest.glade
+       modest.glade\
+       pixmaps/*.png 
+
+PIXMAP_FILES=\
+       pixmaps/*.xpm
 
 libmodest_ui_la_SOURCES=\
-       modest-ui.c\
-       $(GLADE_SOURCE)
+       modest-ui.c
 
 LDADD = \
        $(MODEST_GSTUFF_LIBS) \
@@ -31,7 +32,10 @@ LDADD = \
        $(MODEST_GLADE_LIBS) \
        $(MODEST_TINYMAIL_LIBS)
 
-EXTRA_DIST=pixmaps/*.png modest.glade modest.gladep
+EXTRA_DIST=pixmaps/*.png pixmaps/*.xpm modest.glade modest.gladep
+
+gladedir = $(prefix)/share/modest/glade
+glade_DATA = $(GLADE_FILES)
 
-$(GLADE_SOURCE): $(GLADE_FILES)
-       $(top_srcdir)/scripts/txt2doth $< > $@ 
+pixmapdir = $(prefix)/share/modest/pixmaps
+pixmap_DATA = $(PIXMAP_FILES)