gui = xpdf
endif
+BUILT_SOURCES = \
+ gpdf-marshal.c \
+ gpdf-marshal.h
+
bin_PROGRAMS = $(gui)
# pdftops pdftotext
# pdfinfo pdftopbm
gtkgesture.c \
gtkgesture.h \
page-control.c \
- page-control.h
+ page-control.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
xpdf-top.ltk \
xpdf.ltk
-
server_in_files = GNOME_PDF.server.in.in
serverdir = $(libdir)/bonobo/servers
bonobo-application-x-pdf-ui.xml \
gpdf-control-ui.xml
-EXTRA_DIST = $(stock_DATA) $(ltk) \
+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)