gui = xpdf
endif
+BUILT_SOURCES = \
+ gpdf-marshal.c \
+ gpdf-marshal.h
+
bin_PROGRAMS = $(gui)
# pdftops pdftotext
# pdfinfo pdftopbm
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 \
# 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)
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)