X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=ae0129017df89dcc4889b2e34a215f0b9fb0ce84;hb=a24ba773afb595b2be95a01702816aa66f50ac54;hp=dffbb75025478d6bc9cf52980fed28fc7cee2aef;hpb=28df8004a43a579e93ea905a2426fe42e1e6dfa7;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index dffbb750..ae012901 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -82,8 +82,9 @@ if ENABLE_DBUS BUILT_SOURCES += ev-application-service.h endif -EXTRA_DIST = ev-marshal.list \ - ev-application-service.h +EXTRA_DIST = ev-marshal.list \ + ev-application-service.xml + ev-marshal.h: ev-marshal.list glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h @@ -92,10 +93,13 @@ ev-marshal.c: ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c +DISTCLEANFILES= \ + ev-application-service.h + if DBUS_TOOL_NO_PREFIX -ev-application-service.h: ev-application-service.xml +ev-application-service.h: $(srcdir)/ev-application-service.xml dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml else -ev-application-service.h: ev-application-service.xml +ev-application-service.h: $(srcdir)/ev-application-service.xml dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml endif