]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Makefile.am
get glade file from its installed location. Martin, repeat after me: I
[evince.git] / pdf / xpdf / Makefile.am
index cfebfdf04e2d72732e2c9a009f40de0ccdecad86..1e4e466d8f54df2b964f4f3e8fb7b35f75184aa4 100644 (file)
@@ -14,6 +14,10 @@ else
 gui = xpdf
 endif
 
+BUILT_SOURCES =                        \
+       gpdf-marshal.c                  \
+       gpdf-marshal.h  
+
 bin_PROGRAMS =         $(gui)
 #      pdftops pdftotext       
 #      pdfinfo pdftopbm        
@@ -112,13 +116,18 @@ gnome_pdf_viewer_SOURCES =                \
        gpdf-g-switch.h                 \
        gpdf-persist-stream.cc          \
        gpdf-persist-stream.h           \
+       gpdf-stock-icons.c              \
+       gpdf-stock-icons.h              \
        gpdf-util.h                     \
        gpdf-view.cc                    \
        gpdf-view.h                     \
        gtkgesture.c                    \
        gtkgesture.h                    \
        page-control.c                  \
-       page-control.h
+       page-control.h                  \
+       pdf-properties-display.c        \
+       pdf-properties-display.h        \
+       $(BUILT_SOURCES)
 
 # Font embedding hack for Gnome Print < 2.1.?2?
 #      gpdf-gnome-font.c               \
@@ -207,18 +216,21 @@ xpdf-ltk.h: xpdf.ltk
 #      zoomIn.xbm              
 #      zoomOut.xbm             
 
+gpdf-marshal.h: gpdf-marshal.list $(GLIB_GENMARSHAL)
+       $(GLIB_GENMARSHAL) $< --header --prefix=gpdf_marshal > $@
+
+gpdf-marshal.c: gpdf-marshal.list $(GLIB_GENMARSHAL)
+       echo "#include \"gpdf-marshal.h\"" > $@ && \
+       $(GLIB_GENMARSHAL) $< --body --prefix=gpdf_marshal >> $@
 
 stockdir = $(datadir)/pixmaps/gpdf
 stock_DATA = fitwidth.png
 
-ltk =                  \
-       xpdf-flip.ltk   \
-       xpdf-top.ltk    \
-       xpdf.ltk
-
+gladedir = $(datadir)/gpdf/glade
+glade_DATA =                           \
+       gpdf-properties-dialog.glade
 
 server_in_files = GNOME_PDF.server.in.in
-
 serverdir = $(libdir)/bonobo/servers
 server_DATA = $(server_in_files:.server.in.in=.server)
 $(server_in_files:.server.in.in=.server.in): $(server_in_files)
@@ -230,5 +242,12 @@ ui_DATA =                          \
        bonobo-application-x-pdf-ui.xml \
        gpdf-control-ui.xml
 
-EXTRA_DIST = $(stock_DATA) $(ltk)      \
-             $(server_in_files) config.h $(ui_DATA)
+CLEANFILES = $(server_DATA) $(BUILT_SOURCES)
+DISTCLEANFILES = $(server_in_files:.server.in.in=.server.in)
+
+EXTRA_DIST = $(stock_DATA)             \
+       gpdf-marshal.list               \
+       $(server_in_files)              \
+       config.h                        \
+       $(ui_DATA)                      \
+       $(glade_DATA)